summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-03-24s4:ntlmssp: avoid usage of calc_ntlmv2_key_talloc()Stefan Metzmacher2-29/+10
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: make use of calc_ntlmv2_key() for seal keysStefan Metzmacher1-15/+16
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: add calc_ntlmv2_key() from source3Stefan Metzmacher1-0/+11
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: rename calc_ntlmv2_key => calc_ntlmv2_key_tallocStefan Metzmacher1-5/+5
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: inline ntlmssp_weakend_keys()Stefan Metzmacher2-54/+41
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: use a 'bool ok' helper variable to make the code more readableStefan Metzmacher1-6/+14
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: fix some formatingStefan Metzmacher1-74/+110
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: move doing_ntlm2 to ntlmssp_server_auth_stateStefan Metzmacher2-4/+3
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: move NTLM2 session_nonce to ntlmssp_server_auth_stateStefan Metzmacher2-8/+7
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: move encrypted_session_key to ntlmssp_server_auth_stateStefan Metzmacher2-29/+19
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: keep a ntlmssp_server_auth_state to transport variables from ↵Stefan Metzmacher1-10/+23
preauth to postauth hooks metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: remove unused server_multiple_authentications feature.Stefan Metzmacher2-14/+1
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: rename gensec_ntlmssp_state => ntlmssp_stateStefan Metzmacher7-370/+370
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: split gensec_ntlmssp_unseal_packet() and ntlmssp_unseal_packet()Stefan Metzmacher1-17/+34
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: split gensec_ntlmssp_seal_packet() and ntlmssp_seal_packet()Stefan Metzmacher1-19/+37
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: split gensec_ntlmssp_check_packet() and ntlmssp_check_packet()Stefan Metzmacher1-13/+31
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: split gensec_ntlmssp_sign_packet() and ntlmssp_sign_packet()Stefan Metzmacher1-12/+27
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: make user a 'const char *' in (gensec_)ntlmssp_stateStefan Metzmacher1-1/+1
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: remove server_name from (gensec_)ntlmssp_state and fill the ↵Stefan Metzmacher2-2/+10
server.* fields also for the client Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: calculate server names at startup and store them in ↵Stefan Metzmacher2-26/+37
(gensec_)ntlmssp_state->server.* Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: replace server_role by a server.is_standalone in ↵Stefan Metzmacher2-4/+10
(gensec_)ntlmssp_state Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: remove more whitespaces...Stefan Metzmacher1-32/+32
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: add NTLMSSP_FEATURE_* flags from s3Stefan Metzmacher1-0/+6
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: keep struct gensec_ntlmssp_context in gensec_security->private_dataStefan Metzmacher5-25/+69
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: remove gensec_security from (gensec_)ntlmssp_stateStefan Metzmacher3-5/+5
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: remove backend specifix stuff from (gensec_)ntlmssp_stateStefan Metzmacher2-22/+46
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: create a gensec_ntlmssp_context between gensec_security and ↵Stefan Metzmacher2-9/+20
ntlmssp_state Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: add definition of gensec_ntlmssp_contextStefan Metzmacher1-0/+7
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s4:ntlmssp: add a callback_private pointer to gensec_ntlmssp_stateStefan Metzmacher1-1/+6
We'll remove any gensec specific stuff from gensec_ntlmssp_state and rename it to ntlmssp_state again. Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3-testparm: Throw warning when 'workgroup' and 'netbios name' are identical.Karolin Seeger1-0/+6
Address bug #7285 (NetBIOS Namespace Clash Handling). Karolin
2010-03-24idl: drsuapi.idl - fix few more commentsKamen Mazdrashki1-7/+5
2010-03-24idl: Regenerate DRSUAPI idl filesKamen Mazdrashki5-228/+1050
2010-03-24s4/drs: Pretty print for drsuapi_SecBufferTypeKamen Mazdrashki1-0/+23
It is a type and mask combined in one DRS field so we have to make a custom ndr_print implementation for this type
2010-03-24s4/idl: DsAddEntry V3 request descriptionKamen Mazdrashki1-0/+33
2010-03-24s4/drs: Implement DsAddEntry V3 error handlingKamen Mazdrashki1-10/+67
2010-03-24s4/idl: Remove drsuapi_DsAddEntryExtraErrorBuffer - it is not used anymoreKamen Mazdrashki1-5/+0
2010-03-24s4/idl: Complete drsuapi_DsAddEntryErrorInfo descriptionKamen Mazdrashki1-4/+4
Members for Security, Service, Update and System errors renamed to be more descriptive. All those error types share same description.
2010-03-24s4/idl: Add DsAddEntry Referral error definitionKamen Mazdrashki1-5/+53
2010-03-24s4/idl: Add DsAddEntry Name resolution error definitionKamen Mazdrashki1-2/+12
2010-03-24s4/drs: Refactor error handling for DsAddEntry V3 repliesKamen Mazdrashki1-15/+43
Dumping for specific error classes are to be implemented properly in the near future.
2010-03-24s4/drs: pretty print for drsuapi_DsAddEntry_AttrErrListItem_V1Kamen Mazdrashki2-1/+12
2010-03-24s4/idl: redefine drsuapi_DsAddEntryErrorInfo1Kamen Mazdrashki1-11/+16
This actually describes Attribute error during DsAddEntry execution. Structure is renamed to drsuapi_DsAddEntryErrorInfo_Attr. And structure to define Attribute error data are all prefixed with drsuapi_DsAddEntry_AttrErr
2010-03-24s4/drs: drsuapi_DsAddEntry_ErrData propagate structure def in source codeKamen Mazdrashki2-11/+11
2010-03-24s4/idl: drsuapi_DsAddEntryError refactoredKamen Mazdrashki1-7/+7
Structure description and name was changed to be aligned with WSPP definition. Ref: [MS-DRSR] 4.1.1.1.23
2010-03-24s4/drs: DsAddEntry - extending error handling for V2 repliesKamen Mazdrashki1-2/+15
After having more complete definition for DsAddEntryReply V2 structure, we can now handle error state in more robust way, not just counting on number of objects returned.
2010-03-24s4/idl: DsAddEntry - refactor DsAddEntryCtr2 structureKamen Mazdrashki1-2/+5
Reply structure definition was aligned with WSPP documentation Ref: [MS-DRSR], section 4.1.1.1.7
2010-03-24s4/drs: drsuapi_DsAddEntryErrorInfoX changes propagated to source codeKamen Mazdrashki1-2/+2
2010-03-24s4/idl: Update drsuapi_DsAddEntryErrorInfoX definitionKamen Mazdrashki1-5/+8
drsuapi_DsAddEntryErrorInfoX is an extended error description used by most of the error infos returned by DsAddEntry RPC method.
2010-03-24s4/idl: DIRERR error codes definitionKamen Mazdrashki1-0/+14
DIRERR codes specify class of error returned from DsAddEntry method call. Ref: [MS-DRSR], section 4.1.1.1.25
2010-03-24s4/drs: DsAddEntry - Propagating unsigned switches to source codeKamen Mazdrashki1-1/+1