Ignore:
Timestamp:
May 27, 2009, 11:39:15 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.2 branch to 3.2.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.2.x/source/modules/nfs4_acls.c

    r232 r233  
    204204        DOM_SID *psid_owner, /* in */
    205205        DOM_SID *psid_group, /* in */
     206        bool is_directory, /* in */
    206207        SEC_ACE **ppnt_ace_list, /* out */
    207208        int *pgood_aces /* out */
     
    262263                           sid_string_dbg(&sid)));
    263264
     265                if (is_directory && (ace->aceMask & SMB_ACE4_ADD_FILE)) {
     266                        ace->aceMask |= SMB_ACE4_DELETE_CHILD;
     267                }
    264268                init_sec_access(&mask, ace->aceMask);
    265269                init_sec_ace(&nt_ace_list[good_aces++], &sid,
     
    293297        gid_to_sid(&sid_group, sbuf->st_gid);
    294298
    295         if (smbacl4_nfs42win(mem_ctx, acl, &sid_owner, &sid_group, &nt_ace_list, &good_aces)==False) {
     299        if (smbacl4_nfs42win(mem_ctx, acl, &sid_owner, &sid_group, S_ISDIR(sbuf->st_mode),
     300                                &nt_ace_list, &good_aces)==False) {
    296301                DEBUG(8,("smbacl4_nfs42win failed\n"));
    297302                return map_nt_error_from_unix(errno);
Note: See TracChangeset for help on using the changeset viewer.