summaryrefslogtreecommitdiff
path: root/source3/include/ntdomain.h
AgeCommit message (Collapse)AuthorFilesLines
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)
2009-04-19Make "struct policy" private to srv_lsa_hnd.cVolker Lendecke1-17/+1
2009-03-18s3: remove POLICY_HND.Günther Deschner1-1/+1
Guenther
2009-03-17s3-spoolss: remove unused RPC_BUFFER definition.Günther Deschner1-7/+0
Guenther
2009-02-08Make prs_struct->out_data.current_pdu dynamically allocatedVolker Lendecke1-5/+2
Another 4k per open pipe
2009-02-07Make current_in_pdu in pipes_struct allocatedVolker Lendecke1-1/+1
This makes an open pipe about 4K cheaper
2009-02-01Replace pipe names in pipes_struct by ndr_syntax_idVolker Lendecke1-2/+1
This was mainly used for debugging output
2009-01-08Now that all policy_handle free_fn's are just TALLOC_FREE, dump free_fnVolker Lendecke1-1/+0
2009-01-06Move the "rid_name" typedef to the only place where it might be usedVolker Lendecke1-5/+0
2008-11-24Fix nonempty blank linesVolker Lendecke1-17/+17
2008-11-24Get rid of pipes_struct->pipe_user, we have server_info now --- YESSS!Volker Lendecke1-6/+0
2008-10-13Remove smb_np_structVolker Lendecke1-58/+0
2008-10-13Use "struct files_struct" for pipes instead of smb_np_structVolker Lendecke1-0/+1
2008-07-26make read/write to internal pipes available externallyVolker Lendecke1-8/+6
(This used to be commit e11b5cb1e061caf4c3793fb402ca6bee95a8f26c)
2008-07-26Refactoring: Make close_internal_rpc_pipe_hnd a talloc destructorVolker Lendecke1-9/+0
(This used to be commit 10b47a0c2cfd62489428518112da82f73a52b7bc)
2008-07-26Refactor make_internal_rpc_pipe_p: connection_struct is not neededVolker Lendecke1-2/+5
(This used to be commit defcf0eecfb8eb035d9ca80530720b9e6873f6c7)
2008-07-18Simplify the RPC servers: remove get_pipe_fnsVolker Lendecke1-1/+1
The per-server xxx_get_pipe_fns functions can go once all the RPC servers are converted (This used to be commit 6aa2391cbe1cbda8269ded767117f53d83b243e1)