Compile Differences

Jeremy Allison jeremy at
Fri Mar 16 00:50:09 GMT 2001

On Thu, Mar 15, 2001 at 04:25:44PM -0800, Greg J. Zartman, P.E. wrote:
> Jeremy,
> I've downloaded an update to the Samba 2.2 source a couple times not and
> have been playing around with compiling and installing and am still getting
> strange results.
> For example, I specified the --libdir=/etc and the make routine compiles the
> executables to look for the smb.conf file in /usr/local/samba/etc/samba
> directory.  I even played around with setting the --with-fhs=no, and I
> didn't get what I expected.
> Should I be looking at using a different set of paths for samba.  It appears
> to me like it is preferred to have everything in the /usr/local/samba
> directory tree.

That's the default. The paths to various files are controlled
by the following things :

--bindir = Path to binaries client
--sbindir = Path to server binaries (defaults to same as --bindir)
--with-configdir = Path to smb.conf file (defaults to same as --libdir)
--with-lockdir = Path to Samba lock files
--with-privatedir = Path to smbpasswd file.

If you use the same path you specified in your original bug
report it should now put everything where you want (it did
in my tests).


Buying an operating system without source is like buying
a self-assembly Space Shuttle with no instructions.

More information about the samba-ntdom mailing list