summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_spoolss_util.c
AgeCommit message (Collapse)AuthorFilesLines
2010-06-03s3-build: only include generated spoolss headers (not ndr headers).Günther Deschner1-0/+1
Guenther
2010-05-31s3-build: only use ndr_security.h where needed.Günther Deschner1-0/+1
Guenther
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-2/+2
This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-spoolss: Use the spoolss_map_to_os2_driver to modify drivername.Andreas Schneider1-0/+5
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-spoolss: Added EN ISO 216, A0 and A1 to builtin forms.Andreas Schneider1-0/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-spoolss: Sorted the builtin forms alphabetically.Andreas Schneider1-85/+85
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: Remove use of iconv_convenience.Jelmer Vernooij1-11/+9
2010-05-18s3-rpc_misc: clean out include/rpc_misc.h.Günther Deschner1-1/+1
Well known rids don't really belong into an rpc header, just use the ones defined in security.idl. Guenther
2010-05-05s3-spoolss: remove unused winreg_enumval_to_blob().Günther Deschner1-20/+0
Guenther
2010-05-05s3-spoolss: Create default DsSpooler values.Andreas Schneider1-1/+114
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3-spoolss: Fixed the DeviceMode handling in winreg.Andreas Schneider1-115/+97
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3-spoolss: Added winreg security descriptor functions.Andreas Schneider1-36/+291
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3-spoolss: Migrated winreg to spoolss_create_default_secdesc.Andreas Schneider1-81/+6
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3-spoolss: make sure to return success in winreg_get_driver_list() for aGünther Deschner1-0/+4
non-existing architecture / version combination. Guenther
2010-05-05s3-spoolss: talloc_steal the returned driver_list in winreg_get_driver_list().Günther Deschner1-2/+5
Otherwise the function would return a pointer to a freed list. Guenther
2010-05-05s3-spoolss: Fixed winreg_printer_query_XXX.Simo Sorce1-8/+9
A cast to an incorrectly sized pointer was breaking on 64bit architectures where size_t is 64bit. Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3-spoolss: Added a winreg_printer_query_binary function.Andreas Schneider1-0/+71
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3-spoolss: Fixed memory error in winreg_get_driver.Andreas Schneider1-1/+34
The strings in the structure need to be initialized with an empty string. Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3-spoolss: Added a sharename arg to winreg_update_printer.Andreas Schneider1-1/+3
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3-spoolss: Added missing servername option to winreg_{create,get}_printer.Andreas Schneider1-6/+20
This is needed to be able to pass the correct servername from Printer_entry. Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3-spoolss: Added missing Printer Driver in winreg_{update,get}_printer.Andreas Schneider1-0/+17
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-04s3-spoolss: Remove duplicate macro.Simo Sorce1-5/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-27s3-spoolss: fix some uninitialized variables.Günther Deschner1-2/+2
Guenther
2010-04-23s3-spoolss: Added a winreg_get_printer function.Andreas Schneider1-0/+259
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added a winreg_create_printer function.Andreas Schneider1-0/+337
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added a winreg_update_printer function.Andreas Schneider1-0/+309
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added a winreg_get_driver_list function.Simo Sorce1-0/+67
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added a winreg_del_driver function.Simo Sorce1-0/+85
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added a winreg_get_driver function.Simo Sorce1-0/+255
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added a winreg_add_driver function.Simo Sorce1-0/+224
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Fixed winreg_delete_printer_key if key is NULL or emtpy.Andreas Schneider1-7/+11
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Add date and version winreg helpers.Simo Sorce1-0/+129
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added more winreg hepler functions.Andreas Schneider1-0/+20
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added winreg helper functionsSimo Sorce1-0/+125
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added a winreg function to query a dword.Andreas Schneider1-0/+75
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added a function to get the ChangeID from a printer.Andreas Schneider1-0/+71
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added a function to update the ChangeID of a printer.Andreas Schneider1-0/+98
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added winreg helper functions to write registry values.Andreas Schneider1-0/+104
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Fixed return values of winreg_printer_deleteform1.Andreas Schneider1-0/+5
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-20s3-spoolss: avoid passing down full "struct pipes_struct".Günther Deschner1-40/+51
Guenther
2010-04-09s3-spoolss: Fix two uninitialized vars in spoolss util code.Günther Deschner1-1/+2
Guenther
2010-04-07s3-spoolss: Added a winreg_getform1 function.Andreas Schneider1-0/+131
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07s3-spoolss: Added a winreg_setform1 function.Andreas Schneider1-0/+100
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07s3-spoolss: Added a winreg_deleteform1 function.Andreas Schneider1-0/+76
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07s3-spoolss: Added a winreg_addform1 function.Andreas Schneider1-0/+106
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07s3-spoolss: Added a winreg_enumforms1 function.Andreas Schneider1-0/+235
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07s3-spoolss: Fixed winreg_printer_openkey to be used in a more generic way.Andreas Schneider1-19/+72
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07s3-spoolss: Added a delete_printer_key function using the winreg pipe.Andreas Schneider1-0/+177
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-07s3-spoolss: Added a enum_printer_key function using the winreg pipe.Andreas Schneider1-0/+225
Signed-off-by: Günther Deschner <gd@samba.org>