summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
2010-05-26s3-rpc_server: Created a per connection spoolss pipe.Simo Sorce1-0/+33
This way all code can reuse the same connection to spoolss and not have to deal with the creation of a new pipe all over the code every time we need to ask a service off spoolss. Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-25s3:registry: move reg_objects.h to registry/ and use it only where neededMichael Adam3-0/+3
Every place outside of registry/ where this is used, should probably be changed to use pure reg_api.c code.
2010-05-25s3:srv_ntsvcs: use regval_ctr/blob accessor functionsMichael Adam1-5/+5
2010-05-25s3:registry: extract registry_pull/push_value prototypes into own headerMichael Adam1-0/+1
reg_util_marshalling.h and use them only where needed.
2010-05-25s3:registry: extract reg_perfcount prototypes into header of their own.Michael Adam1-0/+1
And use them only when necessary.
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett3-44/+44
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-20s3-services: move services.h closer to services implementation.Günther Deschner1-1/+1
Guenther
2010-05-18s3-passdb: move get_logon_hours_from_pdb() into samr server.Günther Deschner1-0/+26
Guenther
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-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_descriptor SEC_DESC".Günther Deschner5-30/+30
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_acl SEC_ACL".Günther Deschner6-7/+7
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_ace SEC_ACE".Günther Deschner4-4/+4
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 Vernooij9-82/+69
2010-05-18s3-registry: only include registry headers when really needed.Günther Deschner5-0/+5
Guenther
2010-05-18s3-crypto: only include crypto headers when crypto is done.Günther Deschner2-0/+2
Guenther
2010-05-18s3-samr: move samr helper prototypes outside of proto.hGünther Deschner3-0/+65
Guenther
2010-05-18s3-services: move services.h to where it is actually used.Günther Deschner1-0/+1
Guenther
2010-05-18s3-rpc_misc: clean out include/rpc_misc.h.Günther Deschner5-10/+10
Well known rids don't really belong into an rpc header, just use the ones defined in security.idl. Guenther
2010-05-06s3-spoolss: make several notify functions static.Günther Deschner1-13/+18
Guenther
2010-05-06s3-eventlog: move all eventlog headers to lib/eventlog and only include ↵Günther Deschner1-0/+1
where required. Guenther
2010-05-06s3: only include gen_ndr headers where needed.Günther Deschner4-0/+4
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-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 Schneider2-36/+329
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 Schneider2-1/+6
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3-spoolss: Added missing servername option to winreg_{create,get}_printer.Andreas Schneider2-6/+24
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-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-27s3-spoolss: fix some uninitialized variables.Günther Deschner1-2/+2
Guenther
2010-04-23s3-spoolss: Added a winreg_get_printer function.Andreas Schneider2-0/+279
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added a winreg_create_printer function.Andreas Schneider2-0/+341
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added a winreg_update_printer function.Andreas Schneider2-0/+385
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added a winreg_get_driver_list function.Simo Sorce2-0/+94
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added a winreg_del_driver function.Simo Sorce2-0/+105
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added a winreg_get_driver function.Simo Sorce2-0/+281
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Added a winreg_add_driver function.Simo Sorce2-0/+246
Signed-off-by: Günther Deschner <gd@samba.org>