summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-06-08 00:17:05 +0000
committerJeremy Allison <jra@samba.org>2000-06-08 00:17:05 +0000
commitb2eef912cfaf768fd26b3b2acbcfc0be2951a197 (patch)
tree967334b6045c7f7766c5bdbf526ed0f3b275ffcc /source3/smbd
parent0164047afbd082b0003147845a72ca08b4781b81 (diff)
downloadsamba-b2eef912cfaf768fd26b3b2acbcfc0be2951a197.tar.gz
samba-b2eef912cfaf768fd26b3b2acbcfc0be2951a197.tar.bz2
samba-b2eef912cfaf768fd26b3b2acbcfc0be2951a197.zip
Cause printer SD's to be displayed correctly (full control).
Jeremy. (This used to be commit 341d07c516865bdd9be99f98cd0754d12b25f9c0)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/unix_acls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/unix_acls.c b/source3/smbd/unix_acls.c
index 40bb281c74..7a2dc6ab6e 100644
--- a/source3/smbd/unix_acls.c
+++ b/source3/smbd/unix_acls.c
@@ -423,7 +423,7 @@ size_t get_nt_acl(files_struct *fsp, SEC_DESC **ppdesc)
}
if(num_acls)
- if((psa = make_sec_acl( 3, num_acls, ace_list)) == NULL) {
+ if((psa = make_sec_acl( ACL_REVISION, num_acls, ace_list)) == NULL) {
DEBUG(0,("get_nt_acl: Unable to malloc space for acl.\n"));
return 0;
}