Changeset 312 for branches/samba-3.0/source/libads
- Timestamp:
- Aug 5, 2009, 6:34:45 PM (16 years ago)
- Location:
- branches/samba-3.0/source/libads
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.0/source/libads/cldap.c
r22 r312 61 61 followed_ptr = 1; 62 62 } 63 len = ((ptr[0] & 0x3f) << 8) | ptr[1];63 len = ((ptr[0] & 0x3f) << 8) | (uint8) ptr[1]; 64 64 ptr = data + len; 65 65 } else if (*ptr) { -
branches/samba-3.0/source/libads/ldap.c
r165 r312 113 113 return LDAP_TIMELIMIT_EXCEEDED; 114 114 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 115 126 return result; 116 127 } … … 276 287 got_realm = True; 277 288 289 again: 290 278 291 /* we need to try once with the realm name and fallback to the 279 292 netbios domain name if we fail (if netbios has not been disabled */ … … 326 339 327 340 sitename = sitename_fetch(realm); 328 329 again:330 341 331 342 DEBUG(6,("ads_find_dc: (cldap) looking for %s '%s'\n",
Note:
See TracChangeset
for help on using the changeset viewer.