Dear Samba Users, In the past, with Samba 1.9.18p10, I have handled running several Sun SPARC/Solaris server boxes that share the same /usr/local/samba filesystem. I did this by putting different configuration files in /usr/local/samba/lib. For example: smb.conf.host1, smb.conf.host2, etc. But, now with Samba-2.0.0, it didn't seem to work. My initial questions are: 1) There are now files nmbd.pid and smbd.pid in /usr/local/samba/var/locks Wouldn't this prevent me from "sharing" the common /usr/local/samba? 2) Is there another way I can do this besides setting up completely different /usr/local/samba/host1, /usr/local/samba/host2, etc. and compiling and installing separately (using the --prefix configure option) for each host? Any guidance would be greatly appreciated! Thanks, Tom ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Tom Kinter tmk@mayo.edu 507-284-4981 Mayo Foundation Rochester MN 55905 USA ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
On Thu, 21 Jan 1999, Kinter, Thomas M. wrote:> SPARC/Solaris server boxes that share the same /usr/local/samba filesystem. > I did this by putting different configuration files in /usr/local/samba/lib. > For example: smb.conf.host1, smb.conf.host2, etc. > > But, now with Samba-2.0.0, it didn't seem to work. My initial questions are: > > 1) There are now files nmbd.pid and smbd.pid in /usr/local/samba/var/locks > Wouldn't this prevent me from "sharing" the common /usr/local/samba?It could--what about using a different lock directory, per host, which you probably should anyway: lock directory = /usr/local/samba/var/lock.%h *shrug* That's what I would try. - edan -- edan idzerda <edan@mtu.edu> sysadmin/geek -- michigan technological university, houghton mi usa
On Thu, 21 Jan 1999 samba@samba.org wrote:> Date: Wed, 20 Jan 1999 12:56:54 -0600 > From: "Kinter, Thomas M." <tmk@mayo.edu> (Tom Kinter) > To: samba@samba.org > Subject: Multiple servers from single /usr/local > Message-ID: <199901201856.MAA14150@us1.Mayo.EDU> > > Dear Samba Users, > > In the past, with Samba 1.9.18p10, I have handled running several Sun > SPARC/Solaris server boxes that share the same /usr/local/samba filesystem. > I did this by putting different configuration files in /usr/local/samba/lib. > For example: smb.conf.host1, smb.conf.host2, etc. > > But, now with Samba-2.0.0, it didn't seem to work. My initial questions are: > > 1) There are now files nmbd.pid and smbd.pid in /usr/local/samba/var/locks > Wouldn't this prevent me from "sharing" the common /usr/local/samba? > > 2) Is there another way I can do this besides setting up completely different > /usr/local/samba/host1, /usr/local/samba/host2, etc. and compiling and > installing separately (using the --prefix configure option) for each host?the way i handle this is as follows: - /usr/local/samba/var is a link to /var/samba - /usr/local/samba/lib/smb.conf includes /usr/local/samba/lib/smb.conf.%h -- Todd Pfaff \ Email: pfaff@mcmaster.ca Computing and Information Services \ Voice: (905) 525-9140 x22920 ABB 132 \ FAX: (905) 528-3773 McMaster University \ Hamilton, Ontario, Canada L8S 4M1 \