s3: Lift the smbd_messaging_context from check_published_printers
[amitay/samba.git] / source3 / printing / nt_printing.c
index c44a0ec2c797468b14bad6c122560b1d8154047b..0b23a9729e1b3a183aaeff8a8f239d2846c9a810 100644 (file)
@@ -96,7 +96,7 @@ bool nt_printing_init(struct messaging_context *msg_ctx)
           msgs.  This is done in serverid_register() */
 
        if ( lp_security() == SEC_ADS ) {
-               win_rc = check_published_printers();
+               win_rc = check_published_printers(msg_ctx);
                if (!W_ERROR_IS_OK(win_rc))
                        DEBUG(0, ("nt_printing_init: error checking published printers: %s\n", win_errstr(win_rc)));
        }