summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2004-08-10 01:22:23 +0000
committerJeremy Allison <jra@samba.org>2004-08-10 01:22:23 +0000
commit68c887481e200109d47bc36eb4043e9c25c3cc31 (patch)
treecd6f6e465e63423d054df3492fbb14fc74178f0b
parentb34ffb233f81766731c2128726ebd76529419efd (diff)
downloadsamba-68c887481e200109d47bc36eb4043e9c25c3cc31.tar.gz
samba-68c887481e200109d47bc36eb4043e9c25c3cc31.tar.xz
samba-68c887481e200109d47bc36eb4043e9c25c3cc31.zip
r1681: Ensure we return the same ACL revision on the wire that W2K3 does.
Jeremy.
-rw-r--r--source/smbd/posix_acls.c2
1 files changed, 1 insertions, 1 deletions
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;
}