[Samba] log file = /var/log/samba/log.%m creates 2 logfiles per client

Karolin Seeger ks at sernet.de
Wed May 25 13:42:24 GMT 2005

On Wed, May 25, 2005 at 07:48:29AM -0500, Paul Gienger wrote:
> >I wonder why 2 log files per client (log.$IP and log.$NETBIOSNAME) are
> >created when "log file" ist set to "/var/log/samba/log.%m".
> > 
> >
> Yep, and it has been covered here before.  Basically smbd starts 
> creating a log as soon as it sees the connection, with whatever 
> information it knows.  Very early on it only knows IP, but soon finds 
> the name.  As soon as it retrieves the name from the client it switches 
> to the name log file.
> Essentially the result was that this is the intended functionality.

Ok, thanks for your answer!


Karolin Seeger, SerNet Service Network GmbH
phone: +49-551-370000-0, fax: +49-551-370000-9

More information about the samba mailing list