Changeset 274 for branches/samba-3.3.x/source/passdb
- Timestamp:
- Jun 17, 2009, 2:19:52 PM (16 years ago)
- Location:
- branches/samba-3.3.x/source/passdb
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/passdb/lookup_sid.c
r223 r274 469 469 470 470 if (num_rids) { 471 *names = TALLOC_ ARRAY(mem_ctx, const char *, num_rids);471 *names = TALLOC_ZERO_ARRAY(mem_ctx, const char *, num_rids); 472 472 *types = TALLOC_ARRAY(mem_ctx, enum lsa_SidType, num_rids); 473 473 … … 475 475 return false; 476 476 } 477 478 for (i = 0; i < num_rids; i++) 479 (*types)[i] = SID_NAME_UNKNOWN; 477 480 } else { 478 481 *names = NULL; -
branches/samba-3.3.x/source/passdb/pdb_interface.c
r206 r274 1075 1075 "without algorithmic RIDs is chosen.\n")); 1076 1076 DEBUGADD(0, ("Please map all used groups using 'net groupmap " 1077 "add', set the maximum used RID using\n"));1078 DEBUGADD(0, (" 'net setmaxrid'and remove the parameter\n"));1077 "add', set the maximum used RID\n")); 1078 DEBUGADD(0, ("and remove the parameter\n")); 1079 1079 return False; 1080 1080 } -
branches/samba-3.3.x/source/passdb/pdb_ldap.c
r221 r274 560 560 } 561 561 562 if (!(username = smbldap_talloc_s ingle_attribute(priv2ld(ldap_state),562 if (!(username = smbldap_talloc_smallest_attribute(priv2ld(ldap_state), 563 563 entry, 564 564 "uid", … … 3283 3283 3284 3284 if ((rc == LDAP_NAMING_VIOLATION) || 3285 (rc == LDAP_NOT_ALLOWED_ON_RDN) || 3285 3286 (rc == LDAP_OBJECT_CLASS_VIOLATION)) { 3286 3287 const char *attrs[] = { "sambaGroupType", "description", … … 3297 3298 3298 3299 if ((rc == LDAP_NAMING_VIOLATION) || 3300 (rc == LDAP_NOT_ALLOWED_ON_RDN) || 3299 3301 (rc == LDAP_OBJECT_CLASS_VIOLATION)) { 3300 3302 const char *attrs[] = { "sambaGroupType", "description",
Note:
See TracChangeset
for help on using the changeset viewer.