mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
r1681: Ensure we return the same ACL revision on the wire that W2K3 does.
Jeremy.
This commit is contained in:
parent
6778db6110
commit
31505acf03
@ -2863,7 +2863,7 @@ size_t get_nt_acl(files_struct *fsp, uint32 security_info, SEC_DESC **ppdesc)
|
||||
}
|
||||
|
||||
if (num_aces) {
|
||||
if((psa = make_sec_acl( main_loop_talloc_get(), ACL_REVISION, num_aces, nt_ace_list)) == NULL) {
|
||||
if((psa = make_sec_acl( main_loop_talloc_get(), NT4_ACL_REVISION, num_aces, nt_ace_list)) == NULL) {
|
||||
DEBUG(0,("get_nt_acl: Unable to malloc space for acl.\n"));
|
||||
goto done;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user