diff options
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/nt_printing.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index 85b7513c62..bcdf0e0462 100644 --- 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; |