diff options
author | Volker Lendecke <vl@samba.org> | 2010-08-08 09:27:04 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-08-08 16:03:15 +0200 |
commit | 80cda2e807ee32e3a1e3f93097310798fa4a3814 (patch) | |
tree | 4f3d7a63264bad5d9b2b56355f5e6151b27ba8da /source3/printing | |
parent | 2d3623529fed0be2945cecfb19cef579e5af057e (diff) | |
download | samba-80cda2e807ee32e3a1e3f93097310798fa4a3814.tar.gz samba-80cda2e807ee32e3a1e3f93097310798fa4a3814.tar.bz2 samba-80cda2e807ee32e3a1e3f93097310798fa4a3814.zip |
s3: Lift the smbd_messaging_context from nt_printing_tdb_migrate
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/nt_printing_migrate.c | 4 | ||||
-rw-r--r-- | source3/printing/nt_printing_migrate.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/printing/nt_printing_migrate.c b/source3/printing/nt_printing_migrate.c index aaf1d4f752..7b37926486 100644 --- a/source3/printing/nt_printing_migrate.c +++ b/source3/printing/nt_printing_migrate.c @@ -585,7 +585,7 @@ static NTSTATUS migrate_internal(TALLOC_CTX *mem_ctx, return NT_STATUS_OK; } -bool nt_printing_tdb_migrate(void) +bool nt_printing_tdb_migrate(struct messaging_context *msg_ctx) { const char *drivers_path = state_path("ntdrivers.tdb"); const char *printers_path = state_path("ntprinters.tdb"); @@ -613,7 +613,7 @@ bool nt_printing_tdb_migrate(void) status = rpc_pipe_open_internal(tmp_ctx, &ndr_table_spoolss.syntax_id, server_info, - smbd_messaging_context(), + msg_ctx, &spoolss_pipe); if (!NT_STATUS_IS_OK(status)) { DEBUG(0, ("Couldn't open internal spoolss pipe: %s\n", diff --git a/source3/printing/nt_printing_migrate.h b/source3/printing/nt_printing_migrate.h index fcaeb616fe..9ab2fa7dae 100644 --- a/source3/printing/nt_printing_migrate.h +++ b/source3/printing/nt_printing_migrate.h @@ -21,6 +21,6 @@ #ifndef _NT_PRINTING_MIGRATE_H_ #define _NT_PRINTING_MIGRATE_H_ -bool nt_printing_tdb_migrate(void); +bool nt_printing_tdb_migrate(struct messaging_context *msg_ctx); #endif /* _NT_PRINTING_MIGRATE_H_ */ |