Rod.Kruse@soe.securicor.co.uk
2001-Mar-27 17:11 UTC
samba 2.0.7 on Solaris 2.6 - Running from alternate directory
We have Samba running on many UNIX boxes but this is the first time we have tried to install to a path different from /usr/local/samba Although the configure and Makefile appear correct and place the files into our preferred path (/data2 as opposed to /usr) whenever we run testparm or try to start smbd/nmbd it is looking for smb.conf under /usr/local/samba/lib and a locks directory under /usr/local/samba/var I have obviously missed something very obvious but cannot see what it is for the life of me... :( Any assistance would be appreciated.
Urban Widmark
2001-Mar-27 21:01 UTC
samba 2.0.7 on Solaris 2.6 - Running from alternate directory
On Tue, 27 Mar 2001 Rod.Kruse@soe.securicor.co.uk wrote:> Although the configure and Makefile appear correct and place the files into > our preferred path (/data2 as opposed to /usr) whenever we run testparm or > try to start smbd/nmbd it is looking for smb.conf under > /usr/local/samba/lib and a locks directory under /usr/local/samba/var > > I have obviously missed something very obvious but cannot see what it is > for the life of me... :( > > Any assistance would be appreciated.What's wrong with /usr/local/samba ... :) If you ./configure'd properly it should work. ./configure --prefix=/data2/foo/baz ; make ; make install If you first configured and then moved things it probably won't, or if you didn't move the prefix. testparm looks at CONFIGFILE, which is defined as: source/Makefile.in:CONFIGFILE = $(LIBDIR)/smb.conf /Urban