summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
AgeCommit message (Collapse)AuthorFilesLines
2010-07-20s3-auth: Move auth_ntlmssp wrappers in their own fileSimo Sorce1-26/+1
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-20s3-auth: Refactor and rename auth_ntlmssp_server_info()Simo Sorce1-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>
2010-07-19Remove gen_negTokenInit() - change all callers to spnego_gen_negTokenInit().Jeremy Allison1-2/+2
We now have one function to do this in all calling code. More rationalization to follow. Jeremy.
2010-07-19Move the addition of the 16 byte guid out of spnego_gen_negTokenInit() andJeremy Allison1-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.
2010-07-19Remove parse_negTokenTarg(), as it's actually incorrect. We're processingJeremy Allison1-2/+2
negTokenInit's here. Use common code in spnego_parse_negTokenInit(). Jeremy.
2010-07-19s3-rpc_server: Added callbacks for init and shutdown of a rpc service.Andreas Schneider1-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.
2010-07-19s3-auth: Use talloc hierarchies to properly free auth_ntlmssp_state contextsSimo Sorce1-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>
2010-07-19s3-ntlmssp: Remove ntlmssp_end and let the talloc hierarchy handle it.Simo Sorce1-1/+0
All the members are children of ntlmssp_state anyway. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-16s3-dcerpc: Fix ability to receive Big Endian PDUsSimo Sorce1-0/+1
2010-07-16Make the "map to guest" parameter work correctly with NTLMSSP (spnegoJeremy Allison1-0/+4
and raw) under SMB2. Still need to investigate fixing this with krb5 auth (does this make sense ?). Jeremy.
2010-07-16Move the remnants of rpc_parse code under registry/Simo Sorce1-44/+0
The registry code is the only last user of this code. Move everything under registry/ and hope someone will get rid od it completely from there in the future. Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-parse_prs: Remove unuesd functionsSimo Sorce1-4/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-misc: Move smb_io_time() to regfio.cSimo Sorce1-4/+0
This is the last file using this function and we do not want anyone else to keep using hand marshalled stuff anyway. So make it also private to that file. Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Use DATA_BLOB instead of prs_struct for req_dataSimo Sorce1-1/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Use DATA_BLOB instead of prs_struct for reply_pduSimo Sorce1-1/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Move common helpers into a common fileSimo Sorce1-20/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16dcerpc: remove ncacn_packet_header and related functionsSimo Sorce1-10/+0
ncacn_packet_header was an artifact and it is not necessary anymore Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: consolidate respones packet creation codeSimo Sorce1-0/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Convert rdata from prs_struct to a simple DATA_BLOBSimo Sorce1-1/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Remove unused functions and headersSimo Sorce1-19/+5
parse_rpc.c is dead, long live parse_rpc.c ! Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-14s3:auth Change auth_ntlmssp_server_info API to return NTSTATUSAndrew Bartlett1-2/+3
This fixes a bug where register_existing_vuid() could be called with a NULL server_info if the alloction failed. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-07-13s3-dcerpc: Remove unused functions and headersSimo Sorce1-11/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: fix dcerpc_push_ncacn_packet, pass arg by addressSimo Sorce1-1/+1
There is no need to copy the whole structure twice by passing it in by value. Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Remove unused functionsSimo Sorce1-3/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Use dcerpc_pull_ncacn_packet() to unmarshall dceprc requestsSimo Sorce1-4/+4
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13dcerpc: move dcerpc_pull_auth_trailer into a the common dcerpc_util.c fileSimo Sorce1-0/+6
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13sr-dcerpc: add dcerpc_push_ncacn_packet_header()Simo Sorce1-0/+7
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Use dcerpc_set_frag_length()Simo Sorce1-1/+0
Automatically calculate the fragment length where possible. Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: link against ../librpc/rpc/dcerpc_util.cGünther Deschner1-0/+6
Guenther Signed-off-by: Simo Sorce <idra@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dcerpc: Remove unused prototypeSimo Sorce1-1/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-11s3: [ug]id_to_unix_... can not failVolker Lendecke1-2/+2
Remove some silly failure checks
2010-07-08s3-dcerpc: make dcerpc_pull_dcerpc_auth() publicSimo Sorce1-0/+3
2010-07-08s3-dcerpc: make dceprc_push_dcerpc_auth publicSimo Sorce1-0/+7
2010-07-08s3-rpc: when using rpc_pipe_open_internal, make sure to go through NDR.Günther Deschner1-1/+0
Otherwise a lot of information that is usually generated in the ndr_push remains in an uninitialized state. Guenther
2010-07-08s3:dcerpc Remove unused structure and functionsSimo Sorce1-2/+0
2010-07-08s3:dcerpc Add prs_parse_dcerpc_bindSimo Sorce1-0/+3
2010-07-08s3:rpc user idl define dcerpc_ctx_list instead of custom RPC_CONTEXTSimo Sorce1-1/+1
2010-07-08s3-dcerpc: add dcerpc_pull_ncacn_packet_header().Günther Deschner1-0/+3
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07s3-dcerpc: remove unused init_rpc_hdr_rb and init_rpc_context.Günther Deschner1-6/+0
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07s3-dcerpc: remove unused smb_io_rpc_hdr_fault.Günther Deschner1-1/+0
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07s3-dcerpc: add dcerpc_pull_ncacn_packet().Günther Deschner1-0/+3
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07s3-dcerpc: add dcerpc_push_ncacn_packet().Günther Deschner1-0/+8
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
2010-07-07s3-rpc_parse: remove finally unused prs_unistr().Günther Deschner1-1/+0
Guenther
2010-07-05s3: Make talloc_attrs() staticVolker Lendecke1-1/+0
2010-07-05s3: Remove procid_self() from fill_deferred_open_entry()Volker Lendecke1-3/+5
2010-07-05s3: Remove procid_self() from session_claim()Volker Lendecke1-1/+1
2010-07-04s3: Remove unused msg_flags from connections.tdbVolker Lendecke1-2/+1
This breaks rolling code upgrade!
2010-07-04s3: Replace register_message_flags() with serverid_register_msg_flags()Volker Lendecke1-1/+0
message_send_all is now done by walking the serverid.tdb, not the connections.tdb anymore. Günther, Simo, please check!
2010-07-04s3: Pass the new server_id through reinit_after_forkVolker Lendecke1-2/+3
2010-07-01s3-libads: move ldap posix schema defines to their own header file.Günther Deschner1-17/+0
Guenther