summaryrefslogtreecommitdiff
path: root/source3/printing/nt_printing.c
AgeCommit message (Collapse)AuthorFilesLines
2010-10-02s3-spoolss: Fixed print_access_check server_info.Andreas Schneider1-1/+1
2010-09-30s3-spoolss: Fix servername/printername handling which turns out to be very ↵Günther Deschner1-2/+2
important to get right. Guenther
2010-09-11s3-privs Convert from user_has_privileges() -> security_token_has_privilege()Andrew Bartlett1-2/+1
This new call is available in the merged privileges code, and takes an enum as the parameter, rather than a bitmask. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11s3-privs Further changes to remove SE_PRIVAndrew Bartlett1-1/+1
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-09s3-printing: Make auth_serversupplied_info const.Andreas Schneider1-6/+6
2010-08-31s3-printing: add debug to get_correct_cversion().Günther Deschner1-0/+1
Guenther
2010-08-08s3: Lift the smbd_messaging_context from check_published_printersVolker Lendecke1-1/+1
2010-08-08s3: Lift the smbd_messaging_context from nt_printer_removeVolker Lendecke1-2/+2
2010-08-08s3: Lift the smbd_messaging_context from print_time_access_checkVolker Lendecke1-2/+2
2010-08-08s3: Lift the smbd_messaging_context from print_access_checkVolker Lendecke1-2/+3
2010-08-08s3: Lift the smbd_messaging_context from printer_driver_files_in_useVolker Lendecke1-4/+3
2010-08-08s3: Lift the smbd_messaging_context from printer_driver_in_useVolker Lendecke1-9/+7
2010-08-08s3: Lift the smbd_messaging_context from winreg_del_driver_listVolker Lendecke1-0/+1
2010-08-08s3: Lift the smbd_messaging_context from winreg_get_driverVolker Lendecke1-0/+4
2010-08-08s3: Lift the smbd_messaging_context from winreg_delete_printer_keyVolker Lendecke1-1/+3
2010-08-08s3: Lift the smbd_messaging_context from winreg_get_printer_secdescVolker Lendecke1-0/+1
2010-08-08s3: Lift the smbd_messaging_context from winreg_get_printerVolker Lendecke1-1/+3
2010-08-06s3-netlogon: remove global include of netlogon.h.Günther Deschner1-0/+1
This reduces precompiled headers by another 4 MB and also slightly speeds up the build. Guenther
2010-08-05s3-secrets: only include secrets.h when needed.Günther Deschner1-0/+1
Guenther
2010-08-05s3-printing: move AD related printing components to an own file.Günther Deschner1-440/+0
Guenther
2010-08-03s3-spoolss: remove duplicate (and incorrect) header.Günther Deschner1-1/+0
Guenther
2010-07-31s3-build: avoid to globally include printing and spoolss headers.Günther Deschner1-1/+2
This shrinks precompiled headers by 3MB and will slightly speed up any build. Guenther
2010-07-27s3-printing: Added automatic migration of printing tdbs.Andreas Schneider1-85/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Move the standard mappings to spoolss.Andreas Schneider1-14/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Added automatic migration of printing tdbs.Andreas Schneider1-0/+5
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Move all tdb upgrade functions to a separate file.Andreas Schneider1-391/+4
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Remove unused printer registry key functions.Andreas Schneider1-494/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Removed unused security descriptor functions.Andreas Schneider1-306/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Removed unused nt_forms.Andreas Schneider1-362/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Removed unsuded c_setprinter functions.Andreas Schneider1-66/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Removed unused free_a_printer function.Andreas Schneider1-26/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Removed unused mod_a_printer functions.Andreas Schneider1-313/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Removed unused get_a_printer functions.Andreas Schneider1-523/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Use winreg_delete_printer_key to delete printers.Simo Sorce1-32/+11
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Get rid of get_server_name.Simo Sorce1-9/+0
This function was useless the structure is public and used everywhere. Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Converted printer publishing functions.Simo Sorce1-107/+202
Use spoolss_PrintInfo2 and winreg calls. Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Convert print_driver_in_use.Simo Sorce1-6/+12
Use spoolss_PrintInfo2 and winreg calls. Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Convert print_time_access_check.Simo Sorce1-7/+15
use spoolss_PrintInfo2 and winreg calls Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated driver functions to winreg.Simo Sorce1-512/+53
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Set c_setprinter always to 0.Andreas Schneider1-2/+0
This value is only used for the well known printers list which Samba doesn't implement. Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_AddPrinter and spoolss_SetPrinter.Andreas Schneider1-9/+20
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated NT_DEVICEMODE to spoolss_DeviceMode.Simo Sorce1-247/+100
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-01s3-printing: Fix Bug #7541, %D in "printer admin" causing smbd crash.Günther Deschner1-1/+2
Guenther
2010-06-16s3-printing: add BUILTIN\Print Operators as FULL CONTROL to default sd.Günther Deschner1-2/+22
Guenther
2010-06-16s3-spoolss: Provide a memory context for clean_up_driver_struct().Andreas Schneider1-3/+4
If we use a stack variable to setup spoolss_AddDriverInfoCtr this would segfault with a talloc bad magic value.
2010-06-13s3: Remove the pointless PRINTERNAME macroVolker Lendecke1-1/+1
2010-05-31s3-build: only use ndr_security.h where needed.Günther Deschner1-0/+1
Guenther
2010-05-25s3:registry: move reg_objects.h to registry/ and use it only where neededMichael Adam1-0/+1
Every place outside of registry/ where this is used, should probably be changed to use pure reg_api.c code.
2010-05-25s3:nt_printing: use regval_ctr_init().Michael Adam1-1/+4
2010-05-25s3:registry: adapt callers of regval_ctr_addvalue to uint8 * instead of char *Michael Adam1-4/+4