summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2017-11-05 12:58:09 +0100
committerJeremy Allison <jra@samba.org>2017-12-05 04:58:26 +0100
commit41cfc737dfb2c751053a61917458a4a8cdb386b0 (patch)
treeddf54f290a82bd733e62bde8d8c300063364de7d /source3/printing
parent6423ca4bf293cac5e2f84b1a37bb29b06b5c05ed (diff)
downloadsamba-41cfc737dfb2c751053a61917458a4a8cdb386b0.tar.gz
lib: Remove unused serverid.tdb
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Tue Dec 5 04:58:26 CET 2017 on sn-devel-144
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/nt_printing.c4
-rw-r--r--source3/printing/queue_process.c7
-rw-r--r--source3/printing/spoolssd.c13
3 files changed, 0 insertions, 24 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index 932d4d76df0..2e500f18c7d 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -243,10 +243,6 @@ bool nt_printing_init(struct messaging_context *msg_ctx)
messaging_register(msg_ctx, NULL, MSG_PRINTER_DRVUPGRADE,
forward_drv_upgrade_printer_msg);
- /* of course, none of the message callbacks matter if you don't
- tell messages.c that you interested in receiving PRINT_GENERAL
- msgs. This is done in serverid_register() */
-
if ( lp_security() == SEC_ADS ) {
win_rc = check_published_printers(msg_ctx);
if (!W_ERROR_IS_OK(win_rc))
diff --git a/source3/printing/queue_process.c b/source3/printing/queue_process.c
index 7a3b80aae0c..24708c19537 100644
--- a/source3/printing/queue_process.c
+++ b/source3/printing/queue_process.c
@@ -27,7 +27,6 @@
#include "printing.h"
#include "printing/pcap.h"
#include "printing/queue_process.h"
-#include "serverid.h"
#include "locking/proto.h"
#include "smbd/smbd.h"
#include "rpc_server/rpc_config.h"
@@ -392,12 +391,6 @@ pid_t start_background_queue(struct tevent_context *ev,
exit(1);
}
- if (!serverid_register(messaging_server_id(msg_ctx),
- FLAG_MSG_GENERAL |
- FLAG_MSG_PRINT_GENERAL)) {
- exit(1);
- }
-
if (!locking_init()) {
exit(1);
}
diff --git a/source3/printing/spoolssd.c b/source3/printing/spoolssd.c
index 48a914ef6de..2b08d580f35 100644
--- a/source3/printing/spoolssd.c
+++ b/source3/printing/spoolssd.c
@@ -17,7 +17,6 @@
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
#include "includes.h"
-#include "serverid.h"
#include "smbd/smbd.h"
#include "messages.h"
@@ -280,12 +279,6 @@ static bool spoolss_child_init(struct tevent_context *ev_ctx,
return false;
}
- if (!serverid_register(messaging_server_id(msg_ctx),
- FLAG_MSG_GENERAL |
- FLAG_MSG_PRINT_GENERAL)) {
- return false;
- }
-
if (!locking_init()) {
return false;
}
@@ -694,12 +687,6 @@ pid_t start_spoolssd(struct tevent_context *ev_ctx,
exit(1);
}
- if (!serverid_register(messaging_server_id(msg_ctx),
- FLAG_MSG_GENERAL |
- FLAG_MSG_PRINT_GENERAL)) {
- exit(1);
- }
-
if (!locking_init()) {
exit(1);
}