summaryrefslogtreecommitdiff
path: root/source3/printing/nt_printing_migrate.c
AgeCommit message (Collapse)AuthorFilesLines
2011-07-07s3-printing: fill info2_mask in printer migrationDavid Disseldorp1-4/+7
Also fix possibly uninitialised status return from printing_tdb_migrate_printer().
2011-07-07s3-printing: remove spoolss pipe from migration library, only using winreg ↵Günther Deschner1-4/+0
finally. Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-07-07s3-printing: use winreg interface for migration, instead of spoolss.Günther Deschner1-181/+38
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-07-04s3-printing: open up a winreg pipe handle for the migration code.Günther Deschner1-0/+4
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Jul 4 15:06:41 CEST 2011 on sn-devel-104
2011-07-01s3-printing: split out printing migration code into a smaller library.Günther Deschner1-244/+21
Guenther
2011-06-30s3-printing: skip migration of non-existent printersDavid Disseldorp1-8/+18
Skip tdb migration of printer and security descriptor entries which refer to non-existent printers. Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Jun 30 10:54:23 CEST 2011 on sn-devel-104
2011-06-30s3-printing: fill devicemode size in migrate_printer()David Disseldorp1-0/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2011-06-20tdb_compat: use tdb_firstkey_compat/tdb_nextkey_compat everywhere.Rusty Russell1-3/+3
Note that tdb_nextkey_compat frees the old key for us. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-20tdb_fetch_compat: use instead of tdb_fetch.Rusty Russell1-1/+1
This is a noop for tdb1. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2011-06-09s3-param Remove special case for global_myname(), rename to lp_netbios_name()Andrew Bartlett1-2/+2
There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett
2011-05-13rpc_server: Always use rpc_pipe_open_interface()Simo Sorce1-1/+1
This way we can configure which rpc service we actually want to connect to. By default it uses an "embedded" interface and calls rpc_pipe_open_internal() Signed-off-by: Günther Deschner <gd@samba.org> Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri May 13 14:40:26 CEST 2011 on sn-devel-104
2011-05-06s3: only include tdb headers where needed.Günther Deschner1-0/+1
Guenther
2011-05-05More simple const fixes.Jeremy Allison1-2/+2
2011-05-05s3-printing: run minimal_includes.pl.Günther Deschner1-1/+0
Guenther
2011-04-13s3-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner1-0/+1
Guenther
2011-03-30s3-auth: printing needs auth.hGünther Deschner1-0/+1
Guenther
2011-03-30s3-includes: only include system/filesys.h when needed.Günther Deschner1-0/+1
Guenther
2011-02-22s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_infoAndrew Bartlett1-4/+4
These variables, of type struct auth_serversupplied_info were poorly named when added into 2001, and in good consistant practice, this has extended all over the codebase in the years since. The structure is also not ideal for it's current purpose. Originally intended to convey the results of the authentication modules, it really describes all the essential attributes of a session. This rename will reduce the volume of a future patch to replaced these with a struct auth_session_info, with auth_serversupplied_info confined to the lower levels of the auth subsystem, and then eliminated. (The new structure will be the output of create_local_token(), and the change in struct definition will ensure that this is always run, populating local groups and privileges). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-01-21s3:printing: use dcerpc_spoolss_X() functionsStefan Metzmacher1-35/+72
metze Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@samba.org> Autobuild-Date: Fri Jan 21 13:14:49 CET 2011 on sn-devel-104
2010-09-15s3-rpc_server: Moved ncacn_np declarations in common header file.Simo Sorce1-0/+1
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-03s3-spoolss: fix some debug statements.Günther Deschner1-1/+1
Guenther
2010-08-18s3: Add "client_id" to pipes_structVolker Lendecke1-0/+1
2010-08-08s3: Lift the smbd_messaging_context from nt_printing_tdb_migrateVolker Lendecke1-2/+2
2010-08-08s3: Lift the smbd_messaging_context from rpc_pipe_open_internalVolker Lendecke1-0/+1
2010-08-06s3-printing: cope with missing printers in print migrationAndrew Tridgell1-0/+10
The printers database may be completely missing in a new install, and we may have SECDESC entries for printers that have been removed. Don't consider these fatal errors in the migration. Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-03s3-printing: make sure to set NTSTATUS code before checking it.Günther Deschner1-5/+5
Andreas, please check. Guenther
2010-07-27s3-printing: Added automatic migration of printing tdbs.Andreas Schneider1-1/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Added automatic migration of printing tdbs.Andreas Schneider1-0/+647
Signed-off-by: Jim McDonough <jmcd@samba.org>