Changeset 272 for branches/samba-3.2.x/source/passdb
- Timestamp:
- Jun 16, 2009, 5:52:30 PM (16 years ago)
- Location:
- branches/samba-3.2.x/source/passdb
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/passdb/lookup_sid.c
r233 r272 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.2.x/source/passdb/pdb_interface.c
r228 r272 1063 1063 "without algorithmic RIDs is chosen.\n")); 1064 1064 DEBUGADD(0, ("Please map all used groups using 'net groupmap " 1065 "add', set the maximum used RID using\n"));1066 DEBUGADD(0, (" 'net setmaxrid'and remove the parameter\n"));1065 "add', set the maximum used RID\n")); 1066 DEBUGADD(0, ("and remove the parameter\n")); 1067 1067 return False; 1068 1068 } -
branches/samba-3.2.x/source/passdb/pdb_ldap.c
r228 r272 3281 3281 3282 3282 if ((rc == LDAP_NAMING_VIOLATION) || 3283 (rc == LDAP_NOT_ALLOWED_ON_RDN) || 3283 3284 (rc == LDAP_OBJECT_CLASS_VIOLATION)) { 3284 3285 const char *attrs[] = { "sambaGroupType", "description", … … 3295 3296 3296 3297 if ((rc == LDAP_NAMING_VIOLATION) || 3298 (rc == LDAP_NOT_ALLOWED_ON_RDN) || 3297 3299 (rc == LDAP_OBJECT_CLASS_VIOLATION)) { 3298 3300 const char *attrs[] = { "sambaGroupType", "description",
Note:
See TracChangeset
for help on using the changeset viewer.