git.samba.org
/
vlendec
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0b0ed9
)
r16701: Fix segv when adding a printer caused by not initializing the
author
Gerald Carter
<jerry@samba.org>
Thu, 29 Jun 2006 22:37:32 +0000
(22:37 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 16:19:09 +0000
(11:19 -0500)
realm name in ads_init() in nt_printer_publish().
(This used to be commit
a25e75e78db092b3992dfc6f7e2737023d43e2c3
)
source3/printing/nt_printing.c
patch
|
blob
|
history
diff --git
a/source3/printing/nt_printing.c
b/source3/printing/nt_printing.c
index 85b7513c621ce1b8aee6f4d99d1a5f3191fa9d32..bcdf0e046257fa4e7b0d826fcc097180fafa7a11 100644
(file)
--- a/
source3/printing/nt_printing.c
+++ b/
source3/printing/nt_printing.c
@@
-3184,7
+3184,7
@@
WERROR nt_printer_publish(Printer_entry *print_hnd, int snum, int action)
goto done;
}
- ads = ads_init(
NULL, NULL
, NULL);
+ ads = ads_init(
lp_realm(), lp_workgroup()
, NULL);
if (!ads) {
DEBUG(3, ("ads_init() failed\n"));
win_rc = WERR_SERVER_UNAVAILABLE;