various small problems with (bugs in?) Samba 2.2

Patrick Goetz pgoetz at math.utexas.edu
Wed May 2 17:08:40 GMT 2001


On Wed, 2 May 2001, Gerald Carter wrote:
> > 
> > adding the line 
> >     log file = /var/log/samba.log
> > 
> > to the [global] section of smb.conf and restarting the daemons 
> > doesn't seem to do anything
> 
> This works correctly.  Thw two log files is by design.  No 
> way to override this.  As far as the smb.conf parameter,
> [smbd|nmbd] will write to the compile time default until
> the config file is parsed.  It's a chicken and egg problem.
> 

Sorry, you completely lost me.  Does this mean that I can somehow redirect
at least most of the log output to a file in /var/log by adding something
to smb.conf, or does this mean I should just give up on this?


> > 2. PID files
> 
> Look in $prefix/var/locks/*pid
> 

Here's the tale of the tape:

   poweredge:/opt/samba/var# ps auxw | egrep "smb|nmb"
   root     11550  0.0  0.3  3088 1316 ?        S    May01   0:00
   /opt/samba/sbin/smbd -D
   root     11552  0.0  0.3  2188 1240 ?        S    May01   0:12
   /opt/samba/sbin/nmbd -D
   root     11553  0.0  0.2  2116  964 ?        S    May01   0:00
   /opt/samba/sbin/nmbd -D

   poweredge:/opt/samba/var# ls
   log.nmbd  log.smbd  logon


i.e. no locks directory.






More information about the samba mailing list