Second part of fix for bug 8953 - winbind can hang as nbt_getdc() has no timeout.
authorHerb Lewis <hlewis@panasas.com>
Tue, 29 May 2012 23:38:53 +0000 (16:38 -0700)
committerKarolin Seeger <kseeger@samba.org>
Thu, 31 May 2012 19:05:03 +0000 (21:05 +0200)
commitb0a17d803dea133146ac9ee1a25c87fea7bd4cd8
treee76a2689851a7fcc0415603e5dd72065c3b6398f
parent0d9d67d180ffea2a4e1942ec0c34ce3b4910fe18
Second part of fix for bug 8953 - winbind can hang as nbt_getdc() has no timeout.

If we're running with SEC_ADS and we don't get a cldap response from
the server when querying its name, don't fall back to NetBIOS requests
as they're unlikely to succeed.

Signed-off-by: Jeremy Allison <jra@samba.org>
source3/winbindd/winbindd_cm.c