[Samba] Two questions

John Oliver joliver at john-oliver.net
Mon Oct 20 21:36:55 GMT 2008


On Mon, Oct 20, 2008 at 04:26:49PM -0400, Ryan Novosielski wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> The first one I believe is in the manual, and/or it is a compile flag.
> Look for syslog in the Samba manual.
> 
> John Oliver wrote:
> > 1) A lot (but not all) of my smbd / nmbd logs are going to
> > /var/log/messages instead of /var/log/samba/  I tried a couple of things
> > in syslog.conf, but just don't know the magic word for samba logs.

That doesn't really help.

I'm using CentOS 5.2 and the Samba that comes with... 3.0.28  There's a
/var/log/samba/ which contains an smbd.log and an nmbd.log  Some stuff
is logged to them... other stuff is not.  The fact that those files
exist strongly suggests that all Samba-related logs are intended to go
to those files.  "Using Samba" is a five-year old book, and it's
reference to syslog is to do:

daemon.*        /var/log/daemon.log

which is using a very heavy, very blunt instrument that doesn't really
do what it looks like newer OSes and versions of Samba ought to be able
to do.

-- 
***********************************************************************
* John Oliver                             http://www.john-oliver.net/ *
*                                                                     *
***********************************************************************


More information about the samba mailing list