Ignore:
Timestamp:
Jun 17, 2009, 2:19:52 PM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.3 branch to 3.3.5

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  
    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.3.x/source/passdb/pdb_interface.c

    r206 r274  
    10751075                          "without algorithmic RIDs is chosen.\n"));
    10761076                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"));
    10791079                return False;
    10801080        }
  • branches/samba-3.3.x/source/passdb/pdb_ldap.c

    r221 r274  
    560560        }
    561561
    562         if (!(username = smbldap_talloc_single_attribute(priv2ld(ldap_state),
     562        if (!(username = smbldap_talloc_smallest_attribute(priv2ld(ldap_state),
    563563                                        entry,
    564564                                        "uid",
     
    32833283 
    32843284        if ((rc == LDAP_NAMING_VIOLATION) ||
     3285            (rc == LDAP_NOT_ALLOWED_ON_RDN) ||
    32853286            (rc == LDAP_OBJECT_CLASS_VIOLATION)) {
    32863287                const char *attrs[] = { "sambaGroupType", "description",
     
    32973298
    32983299        if ((rc == LDAP_NAMING_VIOLATION) ||
     3300            (rc == LDAP_NOT_ALLOWED_ON_RDN) ||
    32993301            (rc == LDAP_OBJECT_CLASS_VIOLATION)) {
    33003302                const char *attrs[] = { "sambaGroupType", "description",
Note: See TracChangeset for help on using the changeset viewer.