From: Jeremy Allison Date: Tue, 10 Aug 2004 01:22:23 +0000 (+0000) Subject: r1681: Ensure we return the same ACL revision on the wire that W2K3 does. X-Git-Tag: samba-misc-tags/initial-v3-0-unstable~5934 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=31505acf033c7d76592bb5b4ef80b29a00658c49;p=thirdparty%2Fsamba.git r1681: Ensure we return the same ACL revision on the wire that W2K3 does. Jeremy. --- diff --git a/source/smbd/posix_acls.c b/source/smbd/posix_acls.c index 2d9591e6baa..95938b1e15c 100644 --- a/source/smbd/posix_acls.c +++ b/source/smbd/posix_acls.c @@ -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; }