git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9812b1a
)
s3-printing: fix BUG 7280 - auto printers not loading with registry config
author
Jim McDonough
<jmcd@samba.org>
Mon, 23 Aug 2010 09:14:47 +0000
(11:14 +0200)
committer
Karolin Seeger
<kseeger@samba.org>
Mon, 23 Aug 2010 09:14:47 +0000
(11:14 +0200)
source3/printing/load.c
patch
|
blob
|
history
diff --git
a/source3/printing/load.c
b/source3/printing/load.c
index fc21f271bd9aa2aaba391edcbeaf31e76d27cbf1..874f7f25215560a5717905baed1f5810fea4e208 100644
(file)
--- a/
source3/printing/load.c
+++ b/
source3/printing/load.c
@@
-30,6
+30,10
@@
static void add_auto_printers(void)
char *str;
char *saveptr;
+ if (pnum < 0)
+ if (process_registry_service(PRINTERS_NAME))
+ pnum = lp_servicenumber(PRINTERS_NAME);
+
if (pnum < 0)
return;