Ignore:
Timestamp:
Nov 12, 2012, 7:10:02 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server 3.5: update branche to 3.5.18

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.5.x/source3/lib/util_sid.c

    r583 r738  
    685685                              DOM_SID **user_sids,
    686686                              size_t *num_user_sids,
    687                               bool include_user_group_rid,
    688                               bool skip_ressource_groups)
     687                              bool include_user_group_rid)
    689688{
    690689        NTSTATUS status;
     
    739738        }
    740739
    741         /* Copy 'other' sids.  We need to do sid filtering here to
    742            prevent possible elevation of privileges.  See:
    743 
    744            http://www.microsoft.com/windows2000/techinfo/administration/security/sidfilter.asp
    745          */
     740        /* SID filtering should only be handled by the domain controller on a
     741           trust by trust basis, and is counter-indicated for forests. Since
     742           native AD return all Domain Local groups as other SIDs, then this
     743           must not filter them when parsing INFO3 responses such that the
     744           list is identical to the tokenGroups LDAP query.
     745         */
    746746
    747747        for (i = 0; i < info3->sidcount; i++) {
    748 
    749                 if (skip_ressource_groups &&
    750                     (info3->sids[i].attributes & SE_GROUP_RESOURCE)) {
    751                         continue;
    752                 }
    753 
    754748                status = add_sid_to_array(mem_ctx, info3->sids[i].sid,
    755749                                      &sid_array, &num_sids);
Note: See TracChangeset for help on using the changeset viewer.