[Samba] net ads and wbinfo are painfully slow -- but they work
chrisstankevitz at gmail.com
Tue Jan 31 22:24:09 UTC 2017
On Tue, Jan 31, 2017 at 12:36 PM, Rowland Penny via samba
<samba at lists.samba.org> wrote:
> time net ads testjoin
> Join is OK
> real 0m0.476s
> user 0m0.108s
> sys 0m0.008s
Yes, I know... I have a similar setup (same version of samba, same
hardware, same OS but a different windows domain on a different
network) that is working fine.
> Is the Windows AD DC running a dns server ?
> Does the Unix client have the AD DC as its nameserver ?
Yes and yes. If I didn't have that, I'm not sure how samba could have
joined the domain given my configuration. (But I don't understand
what is going on under the hood.)
> Can you post your /etc/resolv.conf and /etc/hosts
Config files posted below. But first an exciting hint:
When I try to ssh into the box while samba utilities (like "net ads"
and "wbinfo") are frozen -- the ssh login is also frozen until
everything is released. Maybe nsswitch I fouled.
root at nickel:~ # cat /etc/resolv.conf
127.0.0.1 localhost localhost.mydomain.local
192.168.11.3 nickel.mydomain.local nickel
192.168.1.2 iron.mydomain.local iron
# 20170131 samba setup
group: files winbind
passwd: files winbind
hosts: files dns
More information about the samba