[Samba] smb.conf not in sysconfdir? [samba-3.0.1pre1]

Vincent.Badier at alcatel.fr Vincent.Badier at alcatel.fr
Mon Oct 20 12:50:33 GMT 2003


I compiled samba-3.0.1pre1with the following options, expecting to find
smb.conf under /etc/samba directory. However, all binaries programs attempt
to find it under /usr/lib one.


mysrv:/mnt# ./configure --prefix=/usr --sysconfdir=/etc
--with-privatedir=/etc/samba --localstatedir=/var --with-smbmount
--with-syslog --with-utmp --with-readlin --with-libsmbclient --with-winbind
--with-acl-support --with-quotas --with-ads --with-ldap

mysrv:/mnt# testparm --version
Version 3.0.1pre1

mysrv:/mnt# testparm
Load smb config files from /usr/lib/smb.conf
params.c:OpenConfFile() - Unable to open configuration file
"/usr/lib/smb.conf":
        No such file or directory
Error loading services.


--
Vincent





More information about the samba mailing list