Multiple servers from single /usr/local

Todd Pfaff todd at edge.cis.McMaster.CA
Thu Jan 21 04:22:17 GMT 1999


On Thu, 21 Jan 1999 samba at samba.org wrote:

> Date: Wed, 20 Jan 1999 12:56:54 -0600
> From: "Kinter, Thomas M." <tmk at mayo.edu> (Tom Kinter)
> To: samba at samba.org
> Subject: Multiple servers from single /usr/local
> Message-ID: <199901201856.MAA14150 at 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 at mcmaster.ca
Computing and Information Services  \ Voice: (905) 525-9140 x22920
ABB 132                              \  FAX: (905) 528-3773
McMaster University                   \
Hamilton, Ontario, Canada  L8S 4M1     \



More information about the samba mailing list