[Samba] Why %M makes two log files?

Adam Tauno Williams adam at morrison-ind.com
Fri Nov 12 13:34:28 GMT 2004


> On Fri, Nov 12, 2004 at 08:26:54AM -0500, Adam Tauno Williams wrote:
> > I use log.%M to get per client logs.  This works but I always end up
> > with -
> > [root at littleboy root]# cd /var/log/samba
> > [root at littleboy samba]# ls -l log.pc01699
> > -rw-r--r--    1 root     root      2642617 Nov 12 07:30 log.pc01699
> > [root at littleboy samba]# host pc01699
> > pc01699.morrison.iserv.net has address 192.168.19.191
> > [root at littleboy samba]# host 192.168.19.191
> > 191.19.168.192.in-addr.arpa domain name pointer
> > PC01699.morrison.iserv.net.
> > [root at littleboy samba]# ls -l log.192.168.19.191
> > -rw-r--r--    1 root     root            0 Oct 15 07:26
> > log.192.168.19.191
> > [root at littleboy samba]#
> Me too, but I use %m instead of %M. 

Same here, that was a type.

> But the result is the same, I also get
> empty log files with an IP number in addition to the correct log files with
> the client's netbios name.
> samba-3.0.7 and 3.0.8.

Same.



More information about the samba mailing list