[2.0.7] moving smb.conf to another location ...

Peter Samuelson peter at cadcamlab.org
Tue May 9 04:03:04 GMT 2000

[The Hermit Hacker <scrappy at hub.org>]
> Scenario: I have 26 Unix servers .. I have a directory structure
> (/usr/slocal) where all programs common to the machines is stored
> (smbd/nmbd), but want to make sure that non-common stuff is stored
> under /usr/local (var/log,smb.conf,locks) ...

So make /usr/slocal/samba/lib/smb.conf a one-line file:

  include = /usr/local/etc/smb.conf

Works at this end.  Actually what I have here is more like

  # ... quite a few site-wide parameters ...
  include = /usr/local/samba/lib/smb.conf.%h


More information about the samba mailing list