Re: [Samba] Looking for folks with BIG Samba +/orSamba-LDAPinstallations
Hi Anthony, The best place that I can point you for a good howto or instructions on setting up Samba with LDAP is http://samba.idealx.com. Bear in mind that if you are going to use eDirectory, you are in for a long trip. The best LDAP server to use currently with Samba is OpenLDAP or Netscape Directory Server, as eDirectory has some problems with the sambaAccount objectClass Attributes. Good luck! .t - Original Message - From: Anthony Hess [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Tuesday, June 10, 2003 1:03 AM Subject: [Samba] Looking for folks with BIG Samba +/or Samba-LDAPinstallations Hello all, I've been doing my share of googling on this topic, but I am looking for large installations of Samba (preferably Samba/LDAP). I'd hope to find some people in the tens of thousands of users range. If you are on a University campus, even better! Anyway, I'd like to discuss some questions with anyone who meets that criteria. If you could email me off list I'd really appreciate it! Thanks, Anthony Hess University of Arizona -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] samba newbie having trouble configuring samba on RH7.3...
Marv, Don't worry. You don't sound lazy, ungrateful or a peasant. This is precisely why the list exists. Besides, I'm not the kind of mook to say RTFM to anyone. :-) The only thing I can think of with Swat that you may have missed was starting it. Look in /etc/init.d for swat. If it's there, type: # /etc/init.d/swat start. Truth to tell, I haven't used or installed swat in a while, and I think it's possible that it's now in /etc/xinetd.d, which means that you need to edit the swat startup file in that directory and then hup the xinetd daemon. That should start it up. By default most xinetd scripts are disabled at install, and xinetd is not restarted by the installer. If all you need is JUST a few directories, you may able to get by without swat and just edit the smb.conf file following some of the examples at the end. It's fairly straightforward. The conf file is located (if you followed my second install example) in /etc/samba/smb.conf. Otherwise, i think it's in /usr/local/samba/var/lib... i THINK if you followed my first configure example. Either way just find / -name smb.conf should locate it for you. Best of luck. Tori - Original Message - From: marvc [EMAIL PROTECTED] To: 'Tori Williamson' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Saturday, June 07, 2003 7:06 AM Subject: RE: [Samba] samba newbie having trouble configuring samba on RH7.3... Tori Thanks for the mini tutorial on getting started with samba, it helped a great deal as I was able to compile and install after locating ./configure in the source directory. Not to sound like a lazy ungrateful peasant but I'm unable to log in to swat by typing http://localhost:901. Am I missing something here? I'm currently trying to locate an updated doc for 2.2.8a that covers setting up the swat tool and creating the shares. This is for my home network so I'm not tryiing to do anything fancy; just create a few folders for some files I'll be adding to my linux web server. Thanks again -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Tori Williamson Sent: Friday, June 06, 2003 1:54 AM To: [EMAIL PROTECTED] Subject: Re: [Samba] samba newbie having trouble configuring samba on RH7.3... Marv, You do need to run configure for a source tarball... you just haven't found the config script yet. :-) In the samba-2.2.8a directory, go into the directory labeled source. You'll find the configure script there. My advice is, if this is the first time installing Samba, run your install thusly: #samba-2.2.8a ./configure --prefix=/usr/local/samba #samba-2.2.8a make #samba-2.2.8a make install The reason I suggest setting the prefix as /usr/local/samba and no other config options, is that this will put samba in a singular space and allow you time to monkey with it in a closed directory. Then when your comfortable with samba and it's files and configurations, you can wipe the /usr/local/samba dir (thus trashing ALL of the files) and run the configure with WHATEVER path your heart desires. My advice is something like this install: #samba-2.2.8a ./configure --prefix=/usr --configdir=/etc/samba --what-ever-other-config-op tions-you-want #samba-2.2.8a make #samba-2.2.8a find /* samba1 #samba-2.2.8a make install #samba-2.2.8a find /* samba2 #samba-2.2.8a diff samba1 samba2 samba-installed Why the two find and diff statements? Well, you'll see that I offer /usr as the prefix dir, you'r files will be scattered. Doing a find before AND after the install and diffing the two find files will create a file (called samba-installed) with the locations of all the samba files. quite handy. If you don't feel comfortable with that, and want an easier way to manage the install (and if necessary the UNinstall) of Samba, you can download the latest samba SRPM file from Samba.org here: http://us2.samba.org/samba/ftp/Binary_Packages/RedHat/SRPMS/samba-2.2.8a -1.s rc.rpm Just install rpm-build from the 7.3 RPMS, and after downloading the src.rpm, run: #dir rpm -ivh samba-2.2.8a-1.src.rpm then change to /usr/src/redhat/SPECS and edit the samba.spec file to make the config changes you want. Then: #SPECS rpm -bb samba.spec This will place the samba-common, samba-client, samba-server samba-swat RPMS in /usr/src/redhat/RPMS/i386 and you can install the latest samba version from samba.org via RPM. Lastly, I offer up the suggestion of obtaining Using Samba from O'Reilly Assc. A VERY handy book for samba admins of any level. And the latest edition covers Samba 3. You can also do a google search for samba redhat HOWTO Good luck! Tori - Original Message - From: marvc [EMAIL PROTECTED] To: 'Joel Hammer' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, June 05, 2003 9:48 PM Subject: RE: [Samba] samba newbie having trouble configuring samba on RH7.3... I downloaded the samba-latest.tar from the downloads page and you're right
Re: [Samba] samba newbie having trouble configuring samba on RH7.3...
Easiest way to find smb.conf's location is to enter: # find / -name smb.conf Do it as su. That should tell you where it is. .t - Original Message - From: marvc [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 07, 2003 11:27 AM Subject: RE: [Samba] samba newbie having trouble configuring samba on RH7.3... Still No-Go! Still getting timeout and connection refused errors when trying to access this. I also can't find the smb.conf file that's supposed to be located in /usr/local/samba/lib. All I see in this directory is a codepages directory. Could this install have gotten corrupted or am I looking in the wrong place for this? TIA -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] samba newbie having trouble configuring samba on RH7.3...
Marv, My vote is with Sameer... read his prior letter and download the 4 rpms and install them. It will TRULY make your life easier. Being that you're using Samba at home, you're not going to gain anything over source vs. RPM. If this was a production deployment, I'd probably say different. But you'll have much easier control over the RPMS. I had forgotten that you compiled from source. All yu need to do is dump the /usr/local/samba dir (after stopping samba of course). Then install the RPMS and start samba: /etc/init.d/smb start tori - Original Message - From: Sameer Zeidat [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Saturday, June 07, 2003 4:08 PM Subject: RE: [Samba] samba newbie having trouble configuring samba on RH7.3... Hi .. Ok .. swat isn't there because you compiled samba and installed it using the default location '/usr/local/samba-2.2.8a' .. so even if you create 'swat' manually my guess is that you'll run into other problems because of this location. For example, the binaries will be under '/usr/local/samba-2.2.8a/bin' which is not in the default path. Anyway, I'm trying to tell you that your best bet is to use RPMs instead of that. Good luck Thanks swat wasn't located in xinetd so I ended up creating it and adding disable=no line. I don't know if this was necessary but I wasn't able to find it. __ Do you Yahoo!? Yahoo! Calendar - Free online calendar with sync to Outlook(TM). http://calendar.yahoo.com -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] Firewall samba
Well... it depends upon how you want your machines to see each other. Gregis close. But you don't need 135 UDP or TCP 445. TCP 137 138 need to be opened to allow the machines on the other side through. But make sure that you ONLY open those ports for the machine to machine traffic. And write a rule AFTER that rule that prevents any further traffic on those ports. .t - Original Message - From: Greg Hirsch [EMAIL PROTECTED] To: Allison Cooney [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Friday, June 06, 2003 6:43 AM Subject: RE: [Samba] Firewall samba Unless I'm forgetting something, you should just need to open up your firewall for UDP on ports 135, 137, and 138, and TCP on ports 135, 139, and 445. That might even be overkill for your setup - you might not need 445 open. Greg Hirsch Product Support/IT Specialist LOGICARE Corporation (800) 848-0099 -Original Message- From: Allison Cooney [mailto:[EMAIL PROTECTED] Subject: [Samba] Firewall samba Hi Just wondering if anyone could help with regarding the following. I have a number of Linux servers within an NT domain and I can access all of them. But I have a linux server behind our (raptor) firewall - samba has been configured on it and appears to be running. What I want to know is how do I access it from the NT domain. I know I will have to make some changes on the firewall - but how do I get to see it through the NT domain. I can ping the server. Any one got any suggestions? Allison Cooney Tel: Office: 01 - 6799933 Direct: 01 - 6752213 Mobile: 087 - 2365032 This e-mail transmission may contain confidential information that is intended for the individual or entity named on the e-mail address. If you are not the intended recipient, please reply to the sender so that Quest Computing Ltd can arrange for the proper delivery, and then please delete the message from your inbox. If you have received this e-mail in error, you are hereby notified that any disclosure, copying, distribution, or reliance upon the contents of this e-mail is strictly prohibited. -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
Re: [Samba] samba newbie having trouble configuring samba on RH7.3...
Marv, You do need to run configure for a source tarball... you just haven't found the config script yet. :-) In the samba-2.2.8a directory, go into the directory labeled source. You'll find the configure script there. My advice is, if this is the first time installing Samba, run your install thusly: #samba-2.2.8a ./configure --prefix=/usr/local/samba #samba-2.2.8a make #samba-2.2.8a make install The reason I suggest setting the prefix as /usr/local/samba and no other config options, is that this will put samba in a singular space and allow you time to monkey with it in a closed directory. Then when your comfortable with samba and it's files and configurations, you can wipe the /usr/local/samba dir (thus trashing ALL of the files) and run the configure with WHATEVER path your heart desires. My advice is something like this install: #samba-2.2.8a ./configure --prefix=/usr --configdir=/etc/samba --what-ever-other-config-op tions-you-want #samba-2.2.8a make #samba-2.2.8a find /* samba1 #samba-2.2.8a make install #samba-2.2.8a find /* samba2 #samba-2.2.8a diff samba1 samba2 samba-installed Why the two find and diff statements? Well, you'll see that I offer /usr as the prefix dir, you'r files will be scattered. Doing a find before AND after the install and diffing the two find files will create a file (called samba-installed) with the locations of all the samba files. quite handy. If you don't feel comfortable with that, and want an easier way to manage the install (and if necessary the UNinstall) of Samba, you can download the latest samba SRPM file from Samba.org here: http://us2.samba.org/samba/ftp/Binary_Packages/RedHat/SRPMS/samba-2.2.8a-1.s rc.rpm Just install rpm-build from the 7.3 RPMS, and after downloading the src.rpm, run: #dir rpm -ivh samba-2.2.8a-1.src.rpm then change to /usr/src/redhat/SPECS and edit the samba.spec file to make the config changes you want. Then: #SPECS rpm -bb samba.spec This will place the samba-common, samba-client, samba-server samba-swat RPMS in /usr/src/redhat/RPMS/i386 and you can install the latest samba version from samba.org via RPM. Lastly, I offer up the suggestion of obtaining Using Samba from O'Reilly Assc. A VERY handy book for samba admins of any level. And the latest edition covers Samba 3. You can also do a google search for samba redhat HOWTO Good luck! Tori - Original Message - From: marvc [EMAIL PROTECTED] To: 'Joel Hammer' [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, June 05, 2003 9:48 PM Subject: RE: [Samba] samba newbie having trouble configuring samba on RH7.3... I downloaded the samba-latest.tar from the downloads page and you're right it doesn't look as though I have to configure it. I'm just unsure of what it is I need to do to next. -Original Message- From: Joel Hammer [mailto:[EMAIL PROTECTED] Sent: Thursday, June 05, 2003 9:38 PM To: marvc; [EMAIL PROTECTED] Subject: Re: [Samba] samba newbie having trouble configuring samba on RH7.3... What type of file did you download? Maybe its all set to run? Maybe you don't have to configure it? Joel On Thu, Jun 05, 2003 at 08:52:31PM -0400, marvc wrote: I just downloaded Samba ver2.2.8a onto my RH server and I'm unsure on how to properly configure samba. I've seen documentation online for the older versions which contain instructions for running ./configure, make, and make install. I don't see ./configure in my samba-2.2.8a directory so I'm clueless on what to do next. Can anyone assist with this? TIA -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] eDirectory as backend
Does anyone have any experience using eDirectory as the backend to Samba? I am trying to resolve a problem adding the sambaAccount objectClass without using ConsoleOne. I have a very freshly updated schema specifically for NDS from Bruno Pereti (who has been giving me a great deal of support. Thanks Bruno!), and have narrowed down the issue when using the smbldap-useradd.pl script from idealX to a problem with one of the attributes. If anyone has ANY experience, I would love to ask you a couple of questions. If anybody can please help it would be greatly appreciated. Tori -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] a few questions
The best place that I can send you to answer most all of you questions is http://samba.idealx.org and read the PDF they have for setting up a Samba PDC environment. If you plan to use Novell NDS/eDirectory for the backend (LDAP) then beware, there are many caveats. setting up the sambaAccount object for users does not currently work with the supplied SMBLDAP scripts, and setting up users by hand is a bear. I'm running a Netware network with Win2K workstations and wanted to be able to have network Win logins rather than creating a separate login for each employee on each workstation. And Novell was not cooperating with me for using it as an LDAP backend for Samba. What I wound up doing is setting up a Samba/OpenLDAP PDC to handle the domain accounts and sync NDS Win2K logins, so when they change their passwords on the workstation the novell client changes it in eDirectory and the SMBLDAP-passwd.pl script from IdealX handles the SMB passwords... so far it's pretty fluid. It just means you have to enter people in two separate locations as far as user accounts, but once that's done it's pretty simple management. I think the SMB/LDAP/PDC setup is how you will want to go... -Tori -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of D. Rick Anderson Sent: Friday, May 30, 2003 12:32 PM To: [EMAIL PROTECTED] Subject: [Samba] a few questions Hi there. I'm new to the list and I have a few questions about Samba. I've built a few Win9x/Samba networks, but I've been asked to build a Win2000/Samba network and I have a few issues. First off, is there some way with Win2000 and Samba to get a workstation independant login? Right now I have to create the user on the 2000 box for them to be able to login. Second, what is the best configuration tool to use for Samba? I'm running RH9.0 and the GUI is nice, but VERY limited. I've been messing with SWAT, but it doesn't seem to be able to do the things that I want (such as choose a share, and then simply choose who has rights to it). What is being used out there? Third, is there a way to run login scripts with 2000? With 9X I could create login scripts that would map the drives needed for that user. Can I do something like that with 2000 and Samba? Our users move around a lot and there's no way I could follow them all over and map the drives they need on that particular workstation every time they move. This network is coming off of Novell, and the administrator that I'm working with understands that this isn't going to be EXACTLY the same, but he stills wants some of the same functionality. TIA Rick -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] a few questions
One more thing you might want to consider besides roaming profiles for the SMB PDC (which will handle your user mappings, etc) is to look at Novel ZenWorks... -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of D. Rick Anderson Sent: Friday, May 30, 2003 12:32 PM To: [EMAIL PROTECTED] Subject: [Samba] a few questions Hi there. I'm new to the list and I have a few questions about Samba. I've built a few Win9x/Samba networks, but I've been asked to build a Win2000/Samba network and I have a few issues. First off, is there some way with Win2000 and Samba to get a workstation independant login? Right now I have to create the user on the 2000 box for them to be able to login. Second, what is the best configuration tool to use for Samba? I'm running RH9.0 and the GUI is nice, but VERY limited. I've been messing with SWAT, but it doesn't seem to be able to do the things that I want (such as choose a share, and then simply choose who has rights to it). What is being used out there? Third, is there a way to run login scripts with 2000? With 9X I could create login scripts that would map the drives needed for that user. Can I do something like that with 2000 and Samba? Our users move around a lot and there's no way I could follow them all over and map the drives they need on that particular workstation every time they move. This network is coming off of Novell, and the administrator that I'm working with understands that this isn't going to be EXACTLY the same, but he stills wants some of the same functionality. TIA Rick -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] required entries in ldap for samba...
Der... I just saw that you are using LDAP... sorry. Yes, your suggestion is correct. Tori -- sheepish look. -Original Message- From: Ken Kleiner [mailto:[EMAIL PROTECTED] Sent: Friday, May 30, 2003 1:35 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Samba] required entries in ldap for samba... Okay. So - a posix entry for root/uid=0/gid=0 in ldap. Can it have a null userPassword entry and a valid lm/nt password entry? I assume that is best. After I create the ldan entry, do I need to do : smbpasswd -a root Thanks You need to have a user called 'root' with uid=0 and gid=0 in order to join stations to the domain. -Tori -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ken Kleiner Sent: Friday, May 30, 2003 1:26 PM To: [EMAIL PROTECTED] Subject: [Samba] required entries in ldap for samba... Hi... I sucesfully linked my samba install with a ldap database, and smbpasswd -a works with user adds, etc. But - I know that in order to join the domain from WIN2K and XP I need to provide a username/password - exactly what ldif entries are needed in my ldap db for that? Is it 'administrator' with a uid of 0 - Can I use smbpasswd to make this, or ldif/ldapadd? Thanks -- Ken Kleiner System Manager Computer Science Department Umass Lowell voice : 978 934 3645 fax : 978 934 3551 cell : 603 930 5582 (emergencies only, please) [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba -- Ken Kleiner System Manager Computer Science Department Umass Lowell voice : 978 934 3645 fax : 978 934 3551 cell : 603 930 5582 (emergencies only, please) [EMAIL PROTECTED] -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
[Samba] edirectory and samba
Essentially, at this point my head is about to explode. I have been able to update the most recent samba-nds.schema from the LDAP CVS at samba.org. And I can add posixAccount users with the LDAPTools. But I cannot add anyone as a sambaAccount (./smbldap-useradd -a username). Each time, it adds the posixAccount portion to eDirectory, and then failes the sambaAccount add portion. Is there ANYONE who has some experience using the LDAPTools from IdealX with eDirectory? Anyone at all? Is there some error in the scripts? Or some addition/modification I need to make to NDS? Many thanks in advance! Tori -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba
RE: [Samba] edirectory and samba
Yeah, I can add it in, but there are two issues: One, I don't know what to add beyond the rid that's might be important, nor do I know how to add a machine name. I don't have any LDIF examples to go off of. That would be a fall back for me of sorts if I could. The bigger issue, is that I was hopping to use the smbldap-passwd.pl script that SMB access to change the users domain password. That script works fine, until the presence of sambaAccount in the user entry. Then it freaks out and updates nothing. Take the sambaAccount objectClass out of the entry, and all is fine for using the script to change passwords again. I just wish I know what the problems with the sambaAccount objectClass and it particular attributes were. The schema added fine. It's to bad the error messages aren't more specific to the problem. Tori -Original Message- From: Petri Asikainen [mailto:[EMAIL PROTECTED] Sent: Thursday, May 29, 2003 3:01 PM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Samba] edirectory and samba Can you add sambaAccount with ConsoleOne? Tori Williamson wrote: Essentially, at this point my head is about to explode. I have been able to update the most recent samba-nds.schema from the LDAP CVS at samba.org. And I can add posixAccount users with the LDAPTools. But I cannot add anyone as a sambaAccount (./smbldap-useradd -a username). Each time, it adds the posixAccount portion to eDirectory, and then failes the sambaAccount add portion. Is there ANYONE who has some experience using the LDAPTools from IdealX with eDirectory? Anyone at all? Is there some error in the scripts? Or some addition/modification I need to make to NDS? Many thanks in advance! Tori -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba