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@littleboy root]# cd /var/log/samba
> [root@littleboy samba]# ls -l log.pc01699
> -rw-r--r-- 1 root root 2642617 Nov 12 07:30 log.pc01699
> [root@littleboy samba]# host pc01699
> pc01699.morrison.iserv.net has address 192.168.19.191
> [root@littleboy samba]# host 192.168.19.191
> 191.19.168.192.in-addr.arpa domain name pointer
> PC01699.morrison.iserv.net.
> [root@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@littleboy samba]#
Me too, but I use %m instead of %M. 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.