summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_spoolss_nt.c
AgeCommit message (Collapse)AuthorFilesLines
2010-07-27s3-spoolss: Migrated spoolss_DeletePrinter to cleanup winreg keys.Andreas Schneider1-0/+8
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_GetPrinter and spoolss_EnumPrinters to ↵Andreas Schneider1-98/+133
winreg_update_printer. Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_OpenPrinter to create defaults with ↵Andreas Schneider1-48/+50
winreg_create_printer. Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Removed unused function printer_info2_to_nt_printer_info2().Andreas Schneider1-35/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Removed unused function convert_printer_info().Andreas Schneider1-32/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_AddPrinter and spoolss_SetPrinter.Andreas Schneider1-222/+151
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_Forms to use the winreg changeid function.Andreas Schneider1-68/+39
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_GetForm to the winreg function.Andreas Schneider1-70/+4
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_SetForm to the winreg function.Andreas Schneider1-13/+6
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_DeleteForm to the winreg function.Andreas Schneider1-19/+4
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_AddForm to the winreg function.Andreas Schneider1-27/+2
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_EnumForms to the winreg function.Andreas Schneider1-77/+8
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_DeletePrinterKey to the winreg functions.Andreas Schneider1-14/+15
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_DeletePrinterDataEx to the winreg functions.Andreas Schneider1-22/+15
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_EnumPrinterKey to the winreg functions.Andreas Schneider1-45/+7
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_EnumPrinterDataEx to the winreg functions.Andreas Schneider1-90/+7
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_GetPrinterDataEx to the winreg functions.Andreas Schneider1-39/+36
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_SetPrinterDataEx to the winreg functions.Andreas Schneider1-28/+92
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated NT_DEVICEMODE to spoolss_DeviceMode.Simo Sorce1-174/+46
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-13s3-dceprc: Store opnum in its own variableSimo Sorce1-1/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-05s3: Remove procid_self() from srv_spoolss_reply[open|close]printer()Volker Lendecke1-2/+2
2010-07-05s3: Remove procid_self() from srv_spoolss_drv_upgrade_printer()Volker Lendecke1-1/+2
2010-07-04s3: Replace register_message_flags() with serverid_register_msg_flags()Volker Lendecke1-2/+6
message_send_all is now done by walking the serverid.tdb, not the connections.tdb anymore. Günther, Simo, please check!
2010-07-01s3-printing: Fix Bug #7541, %D in "printer admin" causing smbd crash.Günther Deschner1-7/+15
Guenther
2010-06-16s3-spoolss: Provide a memory context for clean_up_driver_struct().Andreas Schneider1-1/+1
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-2/+2
2010-06-07s3:rpc make num_pipe_handles get an actual pipe as argumentSimo Sorce1-1/+1
Let the function abstract out how handles are counted
2010-06-03s3-security: use shared Security Access Masks Rights.Günther Deschner1-2/+2
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-18s3-rpc_client: move protos to init_spoolss.hGünther Deschner1-0/+1
Guenther
2010-05-18s3-spoolss: Removed the Phantom DeviceMode.Simo Sorce1-174/+1
This was a hack that required a special client from HP. The client code has never been released and was discontinued, so this code was just dead weight. Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-secdesc: remove "typedef struct security_acl SEC_ACL".Günther Deschner1-1/+1
Guenther
2010-05-18s3-secdesc: remove "typedef struct sec_desc_buf SEC_DESC_BUF".Günther Deschner1-2/+2
Guenther
2010-05-18s3: Remove use of iconv_convenience.Jelmer Vernooij1-35/+35
2010-05-18s3-registry: only include registry headers when really needed.Günther Deschner1-0/+1
Guenther
2010-05-06s3-spoolss: make several notify functions static.Günther Deschner1-13/+18
Guenther
2010-05-06s3: only include gen_ndr headers where needed.Günther Deschner1-0/+1
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther
2010-05-04s3-lib: Create a sec_desc_merge and sec_desc_merge_buf function.Andreas Schneider1-1/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-28s3-spoolss: add support for SetJobInfo level 1 (for jobfile rename).Günther Deschner1-0/+49
Guenther
2010-04-23s3-spoolss: make switch in _spoolss_AddPrinterDriver() a bit more clear.Günther Deschner1-4/+6
Guenther
2010-04-23s3-spoolss: make sure AddPrinterDriver calls into AddPrinterDriverEx.Günther Deschner1-19/+27
Not vice versa. Also disable some info levels in AddPrinterDriver according to MS-RPRN 3.1.4.4.1. Found by torture test. Guenther
2010-04-23s3-spoolss: fix some crash bugs and missing error codes in AddDriver paths.Günther Deschner1-0/+4
Found by torture test. Guenther
2010-04-09s3: add iconv_convenience handle to pull/push sz helpers.Günther Deschner1-8/+8
Guenther
2010-04-07s3-spoolss: Fix some issues in _spoolss_AddForm.Günther Deschner1-1/+19
Found by torture test. Guenther
2010-04-07s3-spoolss: Fix potential memleak in _spoolss_AddForm and _spoolss_SetForm.Günther Deschner1-2/+4
Guenther
2010-03-26s3-spoolss: return info for the correct printjob in _spoolss_GetJob().Günther Deschner1-4/+6
Guenther
2010-03-15s3-spoolss: Fix _spoolss_EnumPrinterData.Günther Deschner1-3/+5
Guenther
2010-03-13s3-spoolss: wrap _spoolss_EnumPrinterData() around _spoolss_EnumPrinterDataEx().Günther Deschner1-64/+40
This removes some dependencies to registry code. Guenther
2010-03-10Try and fix bug #7233 - print fails with jobs >4GB from Win7 clients.Jeremy Allison1-3/+3
Remove an arbitrarty 4G B limit that *doesn't need to be there* ! Jeremy.
2010-03-05s3-spoolss: fix _spoolss_EnumPrinterDataEx after idlGünther Deschner1-11/+2
Guenther