summaryrefslogtreecommitdiff
path: root/source3/printing/printing.c
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-04-26 13:51:33 -0400
committerSimo Sorce <idra@samba.org>2010-07-27 10:27:10 -0400
commit017a305fede73b3f61517f38dec2bf706e2648df (patch)
treed88daf74cb44e35041fc76e795063c95852eaaa4 /source3/printing/printing.c
parentafc4a387628e00376a118fbd9aeeec0694201e6f (diff)
downloadsamba-017a305fede73b3f61517f38dec2bf706e2648df.tar.gz
samba-017a305fede73b3f61517f38dec2bf706e2648df.tar.bz2
samba-017a305fede73b3f61517f38dec2bf706e2648df.zip
s3-printing: Convert print_time_access_check.
use spoolss_PrintInfo2 and winreg calls Signed-off-by: Jim McDonough <jmcd@samba.org>
Diffstat (limited to 'source3/printing/printing.c')
-rw-r--r--source3/printing/printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index e0cca8854e..5def9cd0d1 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -2430,7 +2430,7 @@ uint32 print_job_start(struct auth_serversupplied_info *server_info, int snum,
return (uint32)-1;
}
- if (!print_time_access_check(lp_servicename(snum))) {
+ if (!print_time_access_check(server_info, lp_servicename(snum))) {
DEBUG(3, ("print_job_start: job start denied by time check\n"));
release_print_db(pdb);
return (uint32)-1;