Second part of fix for bug 8953 - winbind can hang as nbt_getdc() has no timeout.
commit42b2026a83983ad17bfd1651f2256b38e9fe8dad
authorHerb Lewis <hlewis@panasas.com>
Tue, 22 May 2012 23:40:17 +0000 (22 16:40 -0700)
committerJeremy Allison <jra@samba.org>
Wed, 23 May 2012 01:49:35 +0000 (23 03:49 +0200)
tree6039d8918793fc7e118b088af4a44962f4329bf2
parentd6734029924e849dcd336728dde8d24141e8ccc3
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>
Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Wed May 23 03:49:36 CEST 2012 on sn-devel-104
source3/winbindd/winbindd_cm.c