[Samba] net ads and wbinfo are painfully slow -- but they work

Chris Stankevitz chrisstankevitz at gmail.com
Thu Feb 2 17:36:28 UTC 2017

On Tue, Jan 31, 2017 at 2:45 PM, Rowland Penny via samba
<samba at lists.samba.org> wrote:
>> /etc/resolv.conf:
>> root at nickel:~ # cat /etc/resolv.conf
>> nameserver
>> nameserver
>> domain mydomain.local
> I take it at least one of the above nameservers is the AD DC, is the
> other another AD DC ? If it isn't, then remove it. If they are both
> DCs, try changing the order.

They are both DCs.  I will try changing the order.  Is it possible for
me to restrict winbindd so that it attempt to only contact one of the
two DCs?  Once DC is local and another DC is remote (goes through a
firewall and is 80 ms ping time away).

> I would also change the 'domain mydomain.local' to 'search
> mydomain.local'

I will try.

> Is a firewall getting in the way ?

Possibly.  Winbind seems to prefer using the DC that is through a
firewall (see my comment above).

>> /etc/hosts:
>>               localhost localhost.mydomain.local
>>            nickel.mydomain.local nickel
>>             iron.mydomain.local iron
> I take it the machine has a fixed IP and as you are relying on dns to
> find the DC (as you should), you do not need the line that starts
> ''

Yes, I agree.  I will remove it.

> Can you ping the DC from 'nickel', both by IP and name ?


> Is winbind actually running ?


Thanks again,


More information about the samba mailing list