summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-08-10 01:22:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:52:18 -0500
commit532431d49357334febb45bc07524f28052752f9a (patch)
tree0aee7319d887526518187c2017cff7ed1b6ca27f
parent2cceda68be02826dc33118471318802fd64d6dfd (diff)
downloadsamba-532431d49357334febb45bc07524f28052752f9a.tar.gz
samba-532431d49357334febb45bc07524f28052752f9a.tar.bz2
samba-532431d49357334febb45bc07524f28052752f9a.zip
r1681: Ensure we return the same ACL revision on the wire that W2K3 does.
Jeremy. (This used to be commit 31505acf033c7d76592bb5b4ef80b29a00658c49)
-rw-r--r--source3/smbd/posix_acls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c
index 2d9591e6ba..95938b1e15 100644
--- a/source3/smbd/posix_acls.c
+++ b/source3/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;
}