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? Thanks Justin
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 ]
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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?Yeah. I think its a bug in autoconf (or at least non intuitive option). The problem is that --with-fhs is supplying default (even when you don't sepcify it) and you can't override these. I'll look into it some more. Might just be an ordering thing. In the meantime, drop the sysconfdir directove and try just adding - --with-fhs. I think this will give you what you want. cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQE/2j9jIR7qMdg1EfYRAvKvAKC/hbsc5YFtMCdUAapJuJ6IZyRggwCcCwxI czFjajWUAH0afKlsw9tXfgo=Rvxh -----END PGP SIGNATURE-----