Gil Disatnik
2012-Oct-29 06:45 UTC
[Samba] Forcing smbstatus to use hosts file or to avoid resolving hostnames at all
Hello. I am looking for a way to have numeric (IP) output for the host from smbstatus or at least have it using /etc/hosts instead of whatever resolution mechanism it uses. I tried putting "host" (and "hosts", just in case as a few example used "hosts" and not "host"...) in "name resolve order" directive in smb.conf to no avail. I also tried disabling "hostname lookup" in smb.conf and smbstatus didn't care much for that. Any suggestion would be appreciated. Thanks. -- Regards Gil Disatnik UNIX/Linux sysadmin and programmer. http://gil.disatnik.com apt-get install slackware