[Samba] Error:Unable to open configuration file "/usr/local/samba/lib/smb.conf"

Kestutis Saldziunas k.saldziunas at medbank.lt
Tue Feb 5 02:09:19 GMT 2002


Hello, 

I upgraded Samba server to 2.2.3. Server starts normally, however I find error, after starting the server,  in 
/usr/local/samba/var/log.smbd file:

[2002/02/05 10:48:11, 0] param/params.c:OpenConfFile(543)
  params.c:OpenConfFile() - Unable to open configuration file "/usr/local/samba/lib/smb.conf":

I keep file smb.conf in /etc directory and also in my scripts I point to this place:

SMB_BIN=/usr/local/samba/sbin/smbd
NMB_BIN=/usr/local/samba/sbin/nmbd
SMB_CONF=/etc/smb.conf
SMB_PID=/usr/local/samba/var/locks/smbd.pid
NMB_PID=/usr/local/samba/var/locks/nmbd.pid

After I copied smb.conf to usr/local/samba/lib/ directory , I do not find error no more. But I do not like maintain two files :(
What are ideas to solve this problem ?

Thanks in advance, 

Kestutis



-------------- next part --------------
HTML attachment scrubbed and removed


More information about the samba mailing list