1745806 Members
3784 Online
108722 Solutions
New Discussion юеВ

Access log

 
SOLVED
Go to solution
heaman1
Regular Advisor

Access log

I have setup a samba server in my redhat server to allow window servers to connect it , can advise if I want to know which server is connecting with my linux server or which server ever connected to my linux server , what can i do ? thx
2 REPLIES 2
Steven McCoy
Valued Contributor
Solution

Re: Access log

Typically, default samba configurations place a specific log file for each connecting computer in /var/log/samba/SYSTEM_NAME.log (or something similar to that). The variable is '%m', I believe, so you might want to search for that in the /etc/samba/smb.conf file.

Also, /var/log/samba/nmbd.log and /var/log/samba/smbd.log should contain useful information for you.

HTH
Ivan Ferreira
Honored Contributor

Re: Access log

Check the /var/log/samba, you will get a log file for each host connected ever. You can also use the smbstatus command.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?