Ignore:
Timestamp:
Jun 16, 2009, 5:52:30 PM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.2 to 3.2.12

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  
    469469
    470470        if (num_rids) {
    471                 *names = TALLOC_ARRAY(mem_ctx, const char *, num_rids);
     471                *names = TALLOC_ZERO_ARRAY(mem_ctx, const char *, num_rids);
    472472                *types = TALLOC_ARRAY(mem_ctx, enum lsa_SidType, num_rids);
    473473
     
    475475                        return false;
    476476                }
     477
     478                for (i = 0; i < num_rids; i++)
     479                        (*types)[i] = SID_NAME_UNKNOWN;
    477480        } else {
    478481                *names = NULL;
  • branches/samba-3.2.x/source/passdb/pdb_interface.c

    r228 r272  
    10631063                          "without algorithmic RIDs is chosen.\n"));
    10641064                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"));
    10671067                return False;
    10681068        }
  • branches/samba-3.2.x/source/passdb/pdb_ldap.c

    r228 r272  
    32813281 
    32823282        if ((rc == LDAP_NAMING_VIOLATION) ||
     3283            (rc == LDAP_NOT_ALLOWED_ON_RDN) ||
    32833284            (rc == LDAP_OBJECT_CLASS_VIOLATION)) {
    32843285                const char *attrs[] = { "sambaGroupType", "description",
     
    32953296
    32963297        if ((rc == LDAP_NAMING_VIOLATION) ||
     3298            (rc == LDAP_NOT_ALLOWED_ON_RDN) ||
    32973299            (rc == LDAP_OBJECT_CLASS_VIOLATION)) {
    32983300                const char *attrs[] = { "sambaGroupType", "description",
Note: See TracChangeset for help on using the changeset viewer.