From 42b2026a83983ad17bfd1651f2256b38e9fe8dad Mon Sep 17 00:00:00 2001 From: Herb Lewis Date: Tue, 22 May 2012 16:40:17 -0700 Subject: 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 Autobuild-User: Jeremy Allison Autobuild-Date: Wed May 23 03:49:36 CEST 2012 on sn-devel-104 --- source3/winbindd/winbindd_cm.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source3') diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c index cf1eb8bd0e..f36cceaccc 100644 --- a/source3/winbindd/winbindd_cm.c +++ b/source3/winbindd/winbindd_cm.c @@ -1158,6 +1158,7 @@ static bool dcip_to_name(TALLOC_CTX *mem_ctx, } ads_destroy( &ads ); + return false; } #endif -- cgit