Ignore:
Timestamp:
Aug 5, 2009, 6:34:45 PM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.0 to final 3.0.36 (source)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.0/source/libads/ldap.c

    r165 r312  
    113113                return LDAP_TIMELIMIT_EXCEEDED;
    114114
     115
     116        /*
     117         * A bug in OpenLDAP means ldap_search_ext_s can return
     118         * LDAP_SUCCESS but with a NULL res pointer. Cope with
     119         * this. See bug #6279 for details. JRA.
     120         */
     121
     122        if (*res == NULL) {
     123                return LDAP_TIMELIMIT_EXCEEDED;
     124        }
     125
    115126        return result;
    116127}
     
    276287                got_realm = True;
    277288                   
     289 again:
     290
    278291        /* we need to try once with the realm name and fallback to the
    279292           netbios domain name if we fail (if netbios has not been disabled */
     
    326339
    327340        sitename = sitename_fetch(realm);
    328 
    329  again:
    330341
    331342        DEBUG(6,("ads_find_dc: (cldap) looking for %s '%s'\n",
Note: See TracChangeset for help on using the changeset viewer.