Results 1 to 4 of 4
Hi. I`m using debian server and samba file server for a quiet time. It works like file server for windows clients only. But here is my problem, when I type ...
- 06-16-2009 #1Just Joined!
- Join Date
- Jun 2009
- Posts
- 2
smbstatus not resolv machines
Hi. I`m using debian server and samba file server for a quiet time. It works like file server for windows clients only. But here is my problem, when I type "smbstatus", it shows at machine colon - not machine host, but it`s IP address. So why that problem, some windows clients shows their names, but some only IP, I wanna to all clients shows their hostnames, that easy to understand what client uses files.
Little example how:
Regards to this forum, Janis!Code:Service pid machine Connected at ---------------------------------------------------------- data 45745 192.168.1.25 date when connected # not resolved data 43564 janis-tehn date whenn connected
- 06-16-2009 #2Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,695
Name Resolution
Do you have nslookup installed? (Or dig)
Is a reverse lookup successful?
Code:nslookup <IP_ADDR>
- 06-16-2009 #3Just Joined!
- Join Date
- Jun 2009
- Posts
- 2
- 06-16-2009 #4Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,695
Please read the Wikipedia article on name resolution. Nslookup is a tool for YOU to use to query DNS, it does not define if your OS can perform name resolution. There are several ways to get name resolution, and DNS is only one of them.
Short version: Some machines may have a successful reverse lookup and others may not. Fix your name resolution, and all of the "clients" will show by name in smbstatus.


Reply With Quote

