diff options
author | Günther Deschner <gd@samba.org> | 2010-11-15 11:19:23 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-11-17 15:20:15 +0100 |
commit | ee8c035c41c08e5ac599cf68214acd12712191fa (patch) | |
tree | 8e47d03ae723ae33b0f450938b5f247a5c684a46 /source3 | |
parent | b432a3ba194fdd8a12f5198cd6012d4916301da4 (diff) | |
download | samba-ee8c035c41c08e5ac599cf68214acd12712191fa.tar.gz samba-ee8c035c41c08e5ac599cf68214acd12712191fa.tar.bz2 samba-ee8c035c41c08e5ac599cf68214acd12712191fa.zip |
s3-spoolss: add debug statement for access denied cases in OpenPrinterEx path.
Guenther
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/srv_spoolss_nt.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/rpc_server/srv_spoolss_nt.c b/source3/rpc_server/srv_spoolss_nt.c index c0f953bdf4..755d8fc473 100644 --- a/source3/rpc_server/srv_spoolss_nt.c +++ b/source3/rpc_server/srv_spoolss_nt.c @@ -1799,6 +1799,9 @@ WERROR _spoolss_OpenPrinterEx(struct pipes_struct *p, lp_printer_admin(snum))) { close_printer_handle(p, r->out.handle); ZERO_STRUCTP(r->out.handle); + DEBUG(3,("access DENIED as user is not root, " + "has no printoperator privilege and " + "is not in printer admin list")); return WERR_ACCESS_DENIED; } |