summaryrefslogtreecommitdiff
path: root/source3/include/ntdomain.h
AgeCommit message (Collapse)AuthorFilesLines
2011-07-21s3-rpc_server: Move pipe/handles functionsSimo Sorce1-192/+2
Put InternalPipes related functions in rpc_handles.c and out of rpc_ncacn_np.c rpc_handles.c is the only file that really uses them after all and ncacn_np.c is the wrong place for that stuff. While ther remove unnecessary wrapper functions now that the InternalPipes static variable is directly accessible. Also move all pipes_struct related header stuff in its own rpc_pipes.h header. Signed-off-by: Andreas Schneider <asn@samba.org>
2011-07-20s3-auth Use the common auth_session_infoAndrew Bartlett1-1/+1
This patch finally has the same structure being used to describe the authorization data of a user across the whole codebase. This will allow of our session handling to be accomplished with common code. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-20s3-auth Use struct auth3_session_info outside the auth subsystemAndrew Bartlett1-1/+1
This seperation between the structure used inside the auth modules and in the wider codebase allows for a gradual migration from struct auth_serversupplied_info -> struct auth_session_info (from auth.idl) The idea here is that we keep a clear seperation between the structure before and after the local groups, local user lookup and the session key modifications have been processed, as the lack of this seperation has caused issues in the past. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-04s3-rpc_server: Remove client_id and server_id from pipes struct.Andreas Schneider1-2/+0
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-04s3-rpc_server: Add local and remote address to pipes struct.Andreas Schneider1-0/+4
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-06-01s3-rpc_server: Remove syntax from pipes_struct.Andreas Schneider1-1/+0
2011-06-01s3-rpc_server: Added syntax id to pipe_rpc_fns struct.Andreas Schneider1-1/+2
2011-05-02s3: move pipe_auth_data to dcerpc.hGünther Deschner1-14/+0
Guenther
2011-05-02s3-proto: move rpc_srv_register protos and structs to town headerfile.Günther Deschner1-0/+1
Guenther
2011-04-29s3-proto: move rpc_server/rpc_handles.c protos to ntdomain.hGünther Deschner1-0/+28
Guenther
2011-04-13s3-rpc_client: add and use rpc_client/rpc_client.h.Günther Deschner1-0/+2
Guenther
2011-03-23s3-epmapper: Added function to delete endpoint entries.Andreas Schneider1-0/+3
2011-03-23s3-rpc_server: Rename system_user to ncalrpc_as_system.Andreas Schneider1-1/+1
2011-03-08s3-rpc_server: Add server support for NCALRPC system user pipe.Andreas Schneider1-0/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Introduce transport in pipe_struct.Andreas Schneider1-0/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2011-03-08s3-rpc_server: Added server address to pipes struct.Andreas Schneider1-0/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2011-02-22s3-auth Rename auth_serversupplied_info varaiables: server_info -> session_infoAndrew Bartlett1-1/+1
These variables, of type struct auth_serversupplied_info were poorly named when added into 2001, and in good consistant practice, this has extended all over the codebase in the years since. The structure is also not ideal for it's current purpose. Originally intended to convey the results of the authentication modules, it really describes all the essential attributes of a session. This rename will reduce the volume of a future patch to replaced these with a struct auth_session_info, with auth_serversupplied_info confined to the lower levels of the auth subsystem, and then eliminated. (The new structure will be the output of create_local_token(), and the change in struct definition will ensure that this is always run, populating local groups and privileges). Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-09-23s3-dcerpc: remove auth_data_free_funcSimo Sorce1-2/+0
Everything is using a talloc pointer now, no need to have an accessor function to free data anymore. Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: make auth context opaqueSimo Sorce1-6/+1
This way we always double check in advance that the context is of the right type with talloc_get_type_abort instead of potentially accessing random memory by addressing the wrong structure in the union. Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-23s3-dcerpc: finally remove the legaqcy spnego_type variable from pipe_auth_dataSimo Sorce1-7/+0
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-18s3: Add "client_id" to pipes_structVolker Lendecke1-1/+1
2010-08-07s3: Add msg_ctx to pipes_structVolker Lendecke1-0/+1
2010-07-30s3-dcerpc: use common spengo wrapper code for client SPNEGO/NTLMSSPSimo Sorce1-1/+1
2010-07-30s3-dcerpc: Add SPNEGO incapsulation for KRB5 authSimo Sorce1-1/+2
2010-07-28s3-decrpc: Introduce gssapi support for dcerpc krb5 authSimo Sorce1-6/+2
2010-07-28s3-dcerpc: Use dcerpc_AuthType in pipe_auth_dataSimo Sorce1-3/+7
2010-07-28s3-include: Use struct pipes struct and get rid of the typedef.Andreas Schneider1-3/+3
2010-07-20s3-dcerpc: Unifiy cli_pipe_auth_data and pipe_auth_dataSimo Sorce1-1/+8
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-16Move the remnants of rpc_parse code under registry/Simo Sorce1-35/+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-dcerpc: Use DATA_BLOB for pipes_struct input dataSimo Sorce1-1/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-16s3-dcerpc: Convert frag from prs_struct to a simple DATA_BLOBSimo Sorce1-1/+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-13s3-dcerpc: Remove unused membersSimo 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-0/+3
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dceprc: Store opnum in its own variableSimo Sorce1-0/+3
Signed-off-by: Günther Deschner <gd@samba.org>
2010-07-13s3-dceprc use a DATA_BLOB to hold the curren pdu in pipes_structSimo Sorce1-8/+3
Signed-off-by: Günther Deschner <gd@samba.org>
2010-06-18Convert the prs_XXX struct and functions to use talloc instead of malloc. ↵Jeremy Allison1-1/+3
Passes valgrind and make tests for client and server. Second version of this patch after splitting up at Simo's request. Patch to follow will delete extraneous prs_mem_free() calls. Jeremy. Signed-off-by: Simo Sorce <idra@samba.org>
2010-06-16Remove two unused functions (prs_force_dynamic, prs_set_session_key).Jeremy Allison1-1/+0
Jeremy.
2010-05-31s3:auth Remove AUTH_NTLMSSP_STATE typedef.Andrew Bartlett1-1/+1
typedefs are no longer preferred Samba style. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
2010-02-26s3: remove unused schannel_auth_struct.Günther Deschner1-6/+0
Guenther
2009-11-26s3-rpc: Avoid including every pipe's client and server stubs everywhere in ↵Günther Deschner1-0/+2
samba. Guenther
2009-11-08Revert "s3: Do not reference the ndr_tables in the server calls directly"Volker Lendecke1-1/+1
This reverts commit 98fb71782e05ae72cd6abeb38b6e0b96a50c1761.
2009-11-08s3: Do not reference the ndr_tables in the server calls directlyVolker Lendecke1-1/+1
This involves storing the interface table in the pipes_struct
2009-09-24s3: remove unused printing macros.Günther Deschner1-11/+0
Guenther
2009-09-16schannel: fully share schannel sign/seal between s3 and 4.Günther Deschner1-1/+1
Guenther
2009-09-15s3-dcerpc: use dcerpc_AuthLevel and remove duplicate set of flags.Günther Deschner1-8/+1
Guenther
2009-08-27s3-schannel: remove remaining code that was using "struct dcinfo".Günther Deschner1-19/+0
Guenther
2009-08-27s3-credentials: remove unused code.Günther Deschner1-2/+0
Guenther
2009-08-27s3-netlogon: use shared credential and schannel storage infrastructure for ↵Günther Deschner1-0/+3
netlogon server. Guenther
2009-05-07s3-auth: use full 16byte session key in make_user_info_netlogon_interactive().Günther Deschner1-1/+1
Patch from Jeremy. With this patch, I was able to join Windows 7 RC to a Samba3 DC, and login into a Samba 3 Domain. There are still two registry settings required: HKLM\System\CCS\Services\LanmanWorkstation\Parameters DWORD DomainCompatibilityMode = 1 DWORD DNSNameResolutionRequired = 0 Do *not* modify the other netlogon registry parameters that were passed around, they weaken security. Guenther (cherry picked from commit b5097d54cb74ca0ea328f9e029562f65f4a01134)