ips and netbios name on the logs

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

ips and netbios name on the logs

Guido Lorenzutti-2
Hi people, does someone know how to only log the name of the machine and
not the name of the machine AND the ip? Let me explain this:

-rw-r--r--  1 root root    0 Apr 28 02:47 0.0.0.0.log
-rw-r--r--  1 root root    0 Apr 28 02:49 10.3.0.10.log
-rw-r--r--  1 root root    0 Apr 28 02:47 10.3.0.21.log
-rw-r--r--  1 root root    0 Apr 28 02:46 10.3.0.22.log
-rw-r--r--  1 root root    0 Apr 28 02:48 10.3.0.23.log
-rw-r--r--  1 root root    0 Apr 28 02:47 10.3.0.24.log
-rw-r--r--  1 root root    0 Apr 28 02:47 10.3.0.25.log
-rw-r--r--  1 root root    0 Apr 28 02:54 10.3.1.27.log
-rw-r--r--  1 root root    0 Apr 28 02:54 127.0.0.1.log
-rw-r--r--  1 root root    0 Apr 28 02:49 avserver03.log
-rw-r--r--  1 root root  527 Apr 28 02:47 beruti-ts1.log
-rw-r--r--  1 root root    0 Apr 28 02:46 beruti-ts2.log
-rw-r--r--  1 root root 1.1K Apr 28 02:54 beruti-ts3.log
-rw-r--r--  1 root root 1.1K Apr 28 02:54 beruti-ts4.log
-rw-r--r--  1 root root  527 Apr 28 02:48 beruti-ts5.log
-rw-r--r--  1 root root    0 Apr 28 02:54 dr.taratutto.log
-rw-r--r--  1 root root 4.8K Apr 28 02:53 log.nmbd
-rw-r--r--  1 root root  554 Apr 28 02:53 log.smbd
-rw-r--r--  1 root root    0 Apr 28 02:54 server.log
-rw-r--r--  1 root root  516 Apr 28 02:54 smbd.log


I have a log of every machine name and every ip of this machines. I just
want this:

-rw-r--r--  1 root root    0 Apr 28 02:49 avserver03.log
-rw-r--r--  1 root root  527 Apr 28 02:47 beruti-ts1.log
-rw-r--r--  1 root root    0 Apr 28 02:46 beruti-ts2.log
-rw-r--r--  1 root root 1.1K Apr 28 02:54 beruti-ts3.log
-rw-r--r--  1 root root 1.1K Apr 28 02:54 beruti-ts4.log
-rw-r--r--  1 root root  527 Apr 28 02:48 beruti-ts5.log
-rw-r--r--  1 root root    0 Apr 28 02:54 dr.taratutto.log
-rw-r--r--  1 root root 4.8K Apr 28 02:53 log.nmbd
-rw-r--r--  1 root root  554 Apr 28 02:53 log.smbd
-rw-r--r--  1 root root    0 Apr 28 02:54 server.log
-rw-r--r--  1 root root  516 Apr 28 02:54 smbd.log

Anything to change on the smb.conf? Im using samba 3.0.10
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba
Reply | Threaded
Open this post in threaded view
|

RE: ips and netbios name on the logs

Geoffrey Scott-2
Guido Lorenzutti wrote:
> Hi people, does someone know how to only log the name of the machine
> and not the name of the machine AND the ip? Let me explain this:
>

This from an old memory is behaviour by design.  Last time I saw Jerry
comment on this I don't think the answer was that you could turn it off.  



Regards Geoff Scott
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba