[Samba] sysconfdir

Initech initech at r00tserverz.net
Fri Dec 12 21:42:43 GMT 2003


On Fri, Dec 12, 2003 at 02:32:46PM -0700, Justin B. Kay wrote:
> I compiled samba 3.0.0 with the following configure options: 
> 
> ./configure --prefix=/usr --sysconfdir=/etc/samba --with-privatedir=/etc/
> samba/private --with-ldap --with-ads --with-krb5=/usr --with-smbmount 
> --without-sys-quotas
> 
> The problem is that it seems to disregard the sysconfdir param and looks for 
> the smb.conf file in /usr/lib/.  Any help?

Just use the following flag to smbd and nmbd (and winbindd as well) in your
startup scripts:

"-s/etc/samba/smb.conf"

-- 
initech {huckster AT r00tserverz.net}
      _|            _|        _|                      
  _|_|_|    _|_|    _|_|_|          _|_|_|  _|_|_|    
_|    _|  _|_|_|_|  _|    _|  _|  _|    _|  _|    _|  
_|    _|  _|        _|    _|  _|  _|    _|  _|    _|  
  _|_|_|    _|_|_|  _|_|_|    _|    _|_|_|  _|    _|  
                                                      
[ Debian GNU/Linux http://www.debian.org ]


More information about the samba mailing list