summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-08-10 19:51:45 +0000
committerJeremy Allison <jra@samba.org>2000-08-10 19:51:45 +0000
commit1e823bc781fdb0738a58f478432c017732b69068 (patch)
tree2e16ea3c32ecdec25787aaf43b908bf3d08a181f /source3/printing
parent1e46bde597eb77ed708649585d6125f8e82dde31 (diff)
downloadsamba-1e823bc781fdb0738a58f478432c017732b69068.tar.gz
samba-1e823bc781fdb0738a58f478432c017732b69068.tar.bz2
samba-1e823bc781fdb0738a58f478432c017732b69068.zip
Tidied up security rights definitions.
Jeremy. (This used to be commit e466c863f5540e13776f4477b6d58e3fbfe7276d)
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/nt_printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index 2f32a5ac2e..eefcd2384d 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -1987,7 +1987,7 @@ static SEC_DESC_BUF *construct_default_printer_sdb(void)
}
}
- init_sec_access(&sa, PRINTER_ACE_FULL_CONTROL);
+ init_sec_access(&sa, PRINTER_ACE_MANAGE_DOCUMENTS | PRINTER_ACE_PRINT);
init_sec_ace(&ace[1], &owner_sid, SEC_ACE_TYPE_ACCESS_ALLOWED,
sa, SEC_ACE_FLAG_CONTAINER_INHERIT);