[prev in list] [next in list] [prev in thread] [next in thread] 

List:       samba
Subject:    [Samba] Forcing smbstatus to use hosts file or to avoid resolving hostnames at all
From:       Gil Disatnik <gil () disatnik ! com>
Date:       2012-10-29 6:45:03
Message-ID: 508E25EF.1040601 () disatnik ! com
[Download RAW message or body]

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
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic