summaryrefslogtreecommitdiff
path: root/source3/libsmb/ntlmssp.c
AgeCommit message (Collapse)AuthorFilesLines
2010-05-31s3:ntlmssp Move ntlmssp_sign.c from source3 to common code.Andrew Bartlett1-51/+1
This needs a small re-arrangement of the supporting code. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-31ntlmssp: Make the ntlmssp.h from source3/ a common headerAndrew Bartlett1-1/+1
The code is not yet in common, but I hope to fix that soon. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-19Correctly check error code return.Jeremy Allison1-1/+1
Jeremy.
2010-05-19Thanks to Andrew Bartlett's advice, fix the NTLMSSP version problem the ↵Jeremy Allison1-32/+34
correct way. No more magic blobs :-). Use ndr_push_struct_blob() to push a properly formatted VERSION struct. Jeremy.
2010-05-18Fix our NTLMSSP implementation against the Microsoft torture tester.Jeremy Allison1-13/+37
We need to return a version blob if we negotiate version info. Jeremy.
2010-05-18s3: Remove use of iconv_convenience.Jelmer Vernooij1-6/+0
2010-05-18s3-crypto: only include crypto headers when crypto is done.Günther Deschner1-0/+3
Guenther
2010-03-24s3:ntlmssp: use c99 typesStefan Metzmacher1-22/+22
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: use client.netbios_name instead of workstationStefan Metzmacher1-4/+6
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: remove unused ntlmssp_set_workstation()Stefan Metzmacher1-13/+0
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: inline ntlmssp_weaken_keys()Stefan Metzmacher1-41/+0
metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: remove unused get_global_myname() and get_domain() from ↵Stefan Metzmacher1-8/+0
ntlmssp_state Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: pass names and use_ntlmv2 to ntlmssp_client_start() and store themStefan Metzmacher1-16/+41
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: remove server_name from ntlmssp_state and fill the server.* ↵Stefan Metzmacher1-1/+10
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-24s3:ntlmssp: pass names to ntlmssp_server_start() and store them in ntlmssp_stateStefan Metzmacher1-36/+65
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-03-24s3:ntlmssp: replace server_role by a server.is_standalone in ntlmssp_stateStefan Metzmacher1-2/+2
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-24s3: Add NTLMSSP_FEATURE_CCACHEVolker Lendecke1-0/+60
Uses the winbind ccache to do authentication if asked to do so
2010-01-24s3: Remove some calls to memset -- reduces text size by some bytes for meVolker Lendecke1-5/+2
2009-12-29s3:ntlmssp: change get_challange() to return NTSTATUSStefan Metzmacher1-3/+8
metze
2009-12-29s3:ntlmssp: remove unused ntlmssp_stored_response()Stefan Metzmacher1-25/+1
metze
2009-12-29s3:ntlmssp: remove unused ref_count from ntlmssp_stateStefan Metzmacher1-12/+4
metze
2009-12-29s3:ntlmssp: rename NTLM_MESSAGE_TYPE into ntlmssp_message_typeStefan Metzmacher1-1/+1
metze
2009-12-22s3:ntlmssp: only include ntlmssp.h where actually neededAndrew Bartlett1-0/+1
Andrew Bartlett
2009-12-22s3:ntlmssp: remove the typedef NTLMSSP_STATEAndrew Bartlett1-15/+15
Andrew Bartlett
2009-12-22s3:ntlmssp: rename enum NTLMSSP_ROLE into enum ntlmssp_roleAndrew Bartlett1-1/+1
Andrew Bartlett
2009-12-22libcli/auth Make gd's NDR NTLMSSP parsers helpers commonAndrew Bartlett1-1/+1
(but not built in Samba4 for now)
2009-08-28s3-ntlmssp: use generated ntlmssp code for debugging purpose.Günther Deschner1-0/+69
Guenther
2009-08-28s3-ntlmssp: use interface constants in TargetInfo blob.Günther Deschner1-5/+5
Guenther
2009-08-28s3-ntlmssp: use NTLMSSP headers from IDL and remove duplicate constants.Günther Deschner1-16/+14
Guenther
2009-08-27s3-ntlmssp: remove trailing whitespace.Günther Deschner1-96/+96
Guenther
2009-04-20s3:ntlmssp Remove use of talloc(NULL) in NTLMSSP codeAndrew Bartlett1-10/+10
2009-04-20s3:ntlmssp Fix segfault: msrpc_gen now uses talloc()Andrew Bartlett1-46/+8
2009-04-16Fix crash bug in NTLMSSP caused by msrpc_parse() moving to tallocAndrew Bartlett1-4/+2
2009-04-14More work to adapt to merged libcli/auth function prototypesAndrew Bartlett1-10/+10
2009-04-14Rework Samba3 to use new libcli/auth code (partial)Andrew Bartlett1-14/+16
This commit is mostly to cope with the removal of SamOemHash (replaced by arcfour_crypt()) and other collisions (such as changed function arguments compared to Samba3). We still provide creds_hash3 until Samba3 uses the credentials code in netlogon server Andrew Bartlett
2009-02-21Remove the static "chal" from ntlmssp.c:get_challenge()Volker Lendecke1-7/+5
2008-11-30remove the explicit mem_ctx from ntlmssp_state, use the state itselfVolker Lendecke1-46/+41
2008-11-30fix nonempty blank linesVolker Lendecke1-27/+27
2008-04-30ntlmssp: replace UNKNOWN_02000000 with NTLMSSP_NEGOTIATE_VERSION.Günther Deschner1-3/+5
Guenther (This used to be commit 2c41d69bcf6f0897ef9d444a8f167aff1772d562)
2008-02-29Restore 3.0 behaviour with empty /etc/hostsVolker Lendecke1-2/+5
Jeremy, in 3.0 we allowed get_mydnsdomname and get_mydnsfullname to fail without filling in anything useful. Worked fine. Without this patch and a empty /etc/hosts and no DNS configured, session setup would return NT_STATUS_BAD_NETWORK_NAME. This is confusing at best, BAD_NETWORK_NAME afaik is only ever returned from tcon normally. This restores the 3.0 behaviour. Comments? Volker (This used to be commit 2bd3b7d474768f842921945d283eac10da2a1684)
2008-02-29Check the right variable for being NULLVolker Lendecke1-1/+1
(This used to be commit f2c67803792f1fd3929e922c1f626f8247e08992)
2007-12-28Remove static zerosVolker Lendecke1-2/+5
(This used to be commit dbcc213710a9af31b6094d4741a6f68f573dcdad)
2007-11-08Remove more fstring/pstring bad useage. Go talloc !Jeremy Allison1-20/+24
Jeremy. (This used to be commit 2a0173743d2cf615d52278f3dd87cc804abe2d16)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-3/+3
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r22844: Introduce const DATA_BLOB data_blob_null = { NULL, 0, NULL }; andVolker Lendecke1-17/+17
replace all data_blob(NULL, 0) calls. (This used to be commit 3d3d61687ef00181f4f04e001d42181d93ac931e)
2007-10-10r22001: change prototype of dump_data(), so that it takes unsigned char * now,Stefan Metzmacher1-6/+6
which matches what samba4 has. also fix all the callers to prevent compiler warnings metze (This used to be commit fa322f0cc9c26a9537ba3f0a7d4e4a25941317e7)
2007-10-10r19936: Patch from Kai Blin <kai.blin@gmail.com> toJeremy Allison1-2/+4
match Windows NTLMSSP flags. Jeremy. (This used to be commit 786318f84bef76c6acffa1ddf7cdba947509fbac)
2007-10-10r18029: More C++ stuffVolker Lendecke1-1/+1
(This used to be commit 089b51e28cc5e3674e4edf5464c7a15673c5ec0f)