r1681: Ensure we return the same ACL revision on the wire that W2K3 does.
authorJeremy Allison <jra@samba.org>
Tue, 10 Aug 2004 01:22:23 +0000 (01:22 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:52:18 +0000 (10:52 -0500)
Jeremy.
(This used to be commit 31505acf033c7d76592bb5b4ef80b29a00658c49)

source3/smbd/posix_acls.c

index 2d9591e6baa7b3dbfc5a64460934d2b943e73650..95938b1e15cbe70ee7dcf9bf2a42a7b3d9681900 100644 (file)
@@ -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;
                        }