diff -uNrp samba-3.0.30.org/source/libads/ldap.c samba-3.0.30.new/source/libads/ldap.c --- samba-3.0.30.org/source/libads/ldap.c 2009-02-10 17:28:57.000000000 +0900 +++ samba-3.0.30.new/source/libads/ldap.c 2009-02-10 17:36:28.000000000 +0900 @@ -267,7 +267,8 @@ static NTSTATUS ads_find_dc(ADS_STRUCT * if (c_realm && *c_realm) got_realm = True; - + + again: /* we need to try once with the realm name and fallback to the netbios domain name if we fail (if netbios has not been disabled */ @@ -288,8 +289,6 @@ static NTSTATUS ads_find_dc(ADS_STRUCT * sitename = sitename_fetch(realm); - again: - DEBUG(6,("ads_find_dc: looking for %s '%s'\n", (got_realm ? "realm" : "domain"), realm));