diff options
Diffstat (limited to 'source3/printing/nt_printing.c')
-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 54d7e8040c..b0bac86dad 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -3158,7 +3158,7 @@ WERROR check_published_printers(void) int n_services = lp_numservices(); NT_PRINTER_INFO_LEVEL *printer = NULL; - ads = ads_init(NULL, NULL, NULL); + ads = ads_init(lp_realm(), lp_workgroup(), NULL); if (!ads) { DEBUG(3, ("ads_init() failed\n")); return WERR_SERVER_UNAVAILABLE; |