samba 2.0.7 on Solaris 2.6 - Running from alternate directory
urban at teststation.com
Tue Mar 27 21:01:08 GMT 2001
On Tue, 27 Mar 2001 Rod.Kruse at 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
More information about the samba