can't open smb.conf

Weihua Dong weihuad at
Fri Nov 21 12:54:36 GMT 1997

Can anyone tell me why ?
I modify the Makefile and  make install samb: 
Fnatte% make installbin
Using CFLAGS = -O -DSYSLOG -DSMBLOGFILE="/mnt/work/home/samba/var/log.smb"

-DCONFIGFILE="/mnt/work/home/samba/lib/smb.conf"  <<<-------------------------

Using LIBS =  -lsocket -lnsl    
Installing smbd as /mnt/work/home/samba/bin/smbd
Installing nmbd as /mnt/work/home/samba/bin/nmbd
and put smb.conf in /mnt/work/home/samba/lib/   
then run testparm  and get the message:

Fnatte% testparm
Load smb config files from /usr/local/samba/lib/smb.conf
Unable to open configuration file "/usr/local/samba/lib/smb.conf"!
pm_process retuned false
Error loading services.

The config file path is not on  -DCONFIGFILE which I set in Makefile

What is the problem ?  I use SUN Soliaris 2.5

Thanks a lot.

Dong Weihua     weihuad at

More information about the samba mailing list