summaryrefslogtreecommitdiffstats
path: root/source3/include
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-smbd: Convert reply_printqueue to use spoolss.Simo Sorce2010-07-271-0/+1
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Removed unused function print_job_fd().Simo Sorce2010-07-271-1/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Moved printing.c headers to include/printing.h.Simo Sorce2010-07-272-31/+34
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Use WERROR for print_job_delete.Simo Sorce2010-07-271-2/+2
| | | | | | And also check for PJOB_SMBD_SPOOLING in print_job_write. Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-smbd: Migrated to new spoolss functions for printing.Simo Sorce2010-07-271-8/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Handled case when smbd spools a file on behalf of spoolss.Simo Sorce2010-07-272-3/+18
|
* s3-printing: Made print_job_start more robust.Simo Sorce2010-07-271-2/+3
| | | | | | | Explicitly return ntstatus errors instead of relying on elusive errno. Split the function to make it easier to follow. Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Moved remaining prototypes to nt_printing.h.Andreas Schneider2010-07-272-18/+24
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Remove unused printer registry key functions.Andreas Schneider2010-07-271-9/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Removed unused security descriptor functions.Andreas Schneider2010-07-271-2/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Removed unused nt_forms.Andreas Schneider2010-07-271-7/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Removed unsuded c_setprinter functions.Andreas Schneider2010-07-271-2/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Removed unused free_a_printer function.Andreas Schneider2010-07-271-1/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Removed unused mod_a_printer functions.Andreas Schneider2010-07-271-2/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Removed unused get_a_printer functions.Andreas Schneider2010-07-271-8/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-smbd: Added code to print via spoolss.Simo Sorce2010-07-273-0/+18
|
* s3-spoolss: Moved shared printing functions to nt_printing.hAndreas Schneider2010-07-272-33/+47
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Removed the last free_a_printer() call in spoolss_nt.c.Andreas Schneider2010-07-271-2/+2
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Removed unused set_printer_dataex().Simo Sorce2010-07-271-3/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Use winreg_delete_printer_key to delete printers.Simo Sorce2010-07-271-0/+3
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Get rid of get_server_name.Simo Sorce2010-07-271-1/+0
| | | | | | This function was useless the structure is public and used everywhere. Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Converted printer publishing functions.Simo Sorce2010-07-271-7/+8
| | | | | | Use spoolss_PrintInfo2 and winreg calls. Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Convert print_time_access_check.Simo Sorce2010-07-271-1/+2
| | | | | | use spoolss_PrintInfo2 and winreg calls Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Removed construct_dev_mode() function.Simo Sorce2010-07-271-2/+0
| | | | | | | Replace it with spoolss_create_default_devmode() or copy_devicemode() where needed. Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Migrated driver functions to winreg.Simo Sorce2010-07-271-14/+6
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Migrated spoolss_AddPrinter and spoolss_SetPrinter.Andreas Schneider2010-07-271-1/+2
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Migrated NT_DEVICEMODE to spoolss_DeviceMode.Simo Sorce2010-07-273-55/+11
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3: Convert cli_qpathinfo_streams to cli_qpathinfo_sendVolker Lendecke2010-07-261-4/+12
|
* s3: Convert cli_qpathinfo_basic to cli_qpathinfo_sendVolker Lendecke2010-07-261-0/+6
|
* s3: Convert cli_qpathinfo2 to cli_qpathinfo_sendVolker Lendecke2010-07-261-7/+18
|
* s3: Convert cli_qpathinfo1 to cli_qpathinfoVolker Lendecke2010-07-261-1/+11
|
* s3: Convert cli_get_ea_list_path to cli_qpathinfo_sendVolker Lendecke2010-07-251-1/+7
|
* s3: Add async cli_qpathinfoVolker Lendecke2010-07-251-0/+11
|
* s3: cli_qpathinfo->cli_qpathinfo1Volker Lendecke2010-07-251-1/+1
|
* s3-libsmb: Use data_blob_talloc to get krb5 ticket and session keysSimo Sorce2010-07-201-3/+7
|
* Add approriate TALLOC_CTX's thoughout the spnego code. No more implicit NULL ↵Jeremy Allison2010-07-201-8/+8
| | | | | | contexts. Jeremy.
* Fix one more data_blob -> data_blob_talloc. Move away from implicit NULL ↵Jeremy Allison2010-07-201-3/+5
| | | | | | context tallocs. Jeremy.
* Add TALLOC_CTX argument to spnego_parse_negTokenInit, reduceJeremy Allison2010-07-201-2/+4
| | | | | | use of malloc, and data_blob(). Jeremy.
* Rename spnego_gen_negTokenTarg() -> spnego_gen_krb5_negTokenInit()Jeremy Allison2010-07-201-1/+1
| | | | | | as this correctly describes what this function does. Jeremy.
* dcerpc: Clarify what the arguments of dcerpc_pull_auth_trailer() actually ↵Simo Sorce2010-07-201-2/+2
| | | | represent.
* s3-dcerpc: Unifiy cli_pipe_auth_data and pipe_auth_dataSimo Sorce2010-07-203-21/+13
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-auth: Add auth_ntlmssp wrapper for client sideSimo Sorce2010-07-201-0/+16
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-auth: Move auth_ntlmssp wrappers in their own fileSimo Sorce2010-07-202-26/+70
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-auth: Refactor and rename auth_ntlmssp_server_info()Simo Sorce2010-07-201-3/+3
| | | | | | | | | Rename it to auth_ntlmssp_steal_server_info() to make it clear that the server_info struct is stolen from the auth_ntlmssp_state structure. Use talloc_move instead of manual steal&clear Add comments to explain what is going on. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* Remove gen_negTokenInit() - change all callers to spnego_gen_negTokenInit().Jeremy Allison2010-07-191-2/+2
| | | | | | | We now have one function to do this in all calling code. More rationalization to follow. Jeremy.
* Move the addition of the 16 byte guid out of spnego_gen_negTokenInit() andJeremy Allison2010-07-191-2/+1
| | | | | | | | into negprot_spnego() where it belongs (it's not an SPNEGO operation). Add a TALLOC_CTX for callers of negprot_spnego(). Closer to unifying all the gen_negTokenXXX calls. Jeremy.
* Remove parse_negTokenTarg(), as it's actually incorrect. We're processingJeremy Allison2010-07-191-2/+2
| | | | | | negTokenInit's here. Use common code in spnego_parse_negTokenInit(). Jeremy.
* s3-rpc_server: Added callbacks for init and shutdown of a rpc service.Andreas Schneider2010-07-191-4/+16
| | | | | | This adds two callback function for each rpc service. One is for initialisation and the other for shutdown. rpc_<service>_unregister() needs to be called to execute the shutdown function.
* s3-auth: Use talloc hierarchies to properly free auth_ntlmssp_state contextsSimo Sorce2010-07-191-1/+0
| | | | | | | Turn auth_ntlmssp_end into a destructor and attach it to auth_ntlmssp_state. Remote auth_ntlmssp_end and use TALLOC_FREE in the callers. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s3-auth: Simplify how we free the auth_contextSimo Sorce2010-07-191-1/+0
| | | | | | | | | Turn the freeing function into a destructor and attach it to the auth_context. Make all callers TALLOC_FREE() the auth_context instead of calling the free function. Signed-off-by: Andrew Bartlett <abartlet@samba.org>