Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-03-28 | Fix inspired by work done by David Disseldorp for bug #8040 - smbclient ↵ | Jeremy Allison | 1 | -3/+11 | |
segfaults when a Cyrillic netbios name or workgroup is configured. Change msrpc_gen to return NTSTATUS and ensure everywhere this is used it is correctly checked to return that status. Jeremy. | |||||
2011-03-05 | nsswitch: wbcFreeMemory deals fine with NULL | Volker Lendecke | 1 | -3/+1 | |
2010-08-14 | s3: Fix an uninitialized variable | Volker Lendecke | 1 | -0/+3 | |
2010-08-10 | libcli/auth Make the source3/ implementation of the NTLMSSP server common | Andrew Bartlett | 1 | -527/+0 | |
This means that the core logic (but not the initialisation) of the NTLMSSP server is in common, but uses different authentication backends. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-08-10 | s3:ntlmssp Split the NTLMSSP server into before and after authentication | Andrew Bartlett | 1 | -62/+148 | |
This allows for a future where the auth subsystem is async, and the session key generation needs to happen in a callback. This code is originally reworked into this style by metze for the source4/ implementation. The other change here is to introduce an 'out_mem_ctx', which makes the API match that used in source4. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-08-10 | s3:ntlmssp Always call ntlmssp_sign_init() | Andrew Bartlett | 1 | -3/+1 | |
There is no code path that sets nt_status before this point, without a return. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-08-10 | s3:ntlmssp Don't use talloc_tos() for NTLMSSP blobs for now | Andrew Bartlett | 1 | -2/+2 | |
This code will, I hope, soon be merged in common, and the Samba4 use case does not currently support talloc_tos() properly. Use another context for now. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-08-10 | s3:ntlmssp Don't permit LM_KEY in combination with NTLMv2 | Andrew Bartlett | 1 | -1/+4 | |
This is another 'belts and braces' check to avoid the use of the weak 'LM_KEY' encryption when the client has chosen NTLMv2. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-08-10 | s3:ntlmssp Don't reply with the LM_KEY negotiation flag when not available | Andrew Bartlett | 1 | -0/+15 | |
This ensures the client isn't confused and we don't enter this weaker authentication scheme when we don't really, really need to. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-08-10 | s3:ntlmssp Don't use the lm key if the user didn't supply one. | Andrew Bartlett | 1 | -3/+3 | |
This may help to avoid a number of possible MITM attacks where LM_KEY is spoofed into the session. If the login wasn't with lanman (and so the user chose to disclose their lanman response), don't disclose back anything based on their lanman password. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-08-10 | s3:ntlmssp Add extra DEBUG() message for auth system failures | Andrew Bartlett | 1 | -0/+2 | |
Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-08-10 | s3:ntlmssp Redirect lp_lanman_auth() via 'allow_lm_key' | Andrew Bartlett | 1 | -2/+4 | |
This will allow this to be handled via common code in the future Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-08-10 | libcli/auth Move some source3/ NTLMSSP functions to the common code. | Andrew Bartlett | 1 | -87/+0 | |
libcli/auth Use true and false rather than True and False in common code Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-07-19 | s3-ntlmssp: Remove ntlmssp_end and let the talloc hierarchy handle it. | Simo Sorce | 1 | -17/+0 | |
All the members are children of ntlmssp_state anyway. Signed-off-by: Andrew Bartlett <abartlet@samba.org> | |||||
2010-06-28 | s3: Fix some valgrind errors | Volker Lendecke | 1 | -19/+36 | |
Essentially the same change as 15297ee, this time for the client side. Günther, Andrew B, please check! Thanks, Volker | |||||
2010-06-21 | s3: Fix some valgrind errors | Volker Lendecke | 1 | -18/+33 | |
With -d 10, there were a ton of uninitialized variables: The "NegotiateFlags" in the automatically parsed ntlmssp structures were not initialized. This also cleans up the talloc use a bit: do early TALLOC_FREE() Günther, please check! Thanks, Volker | |||||
2010-05-31 | s3:ntlmssp Move ntlmssp_sign.c from source3 to common code. | Andrew Bartlett | 1 | -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-31 | ntlmssp: Make the ntlmssp.h from source3/ a common header | Andrew Bartlett | 1 | -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-19 | Correctly check error code return. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2010-05-19 | Thanks to Andrew Bartlett's advice, fix the NTLMSSP version problem the ↵ | Jeremy Allison | 1 | -32/+34 | |
correct way. No more magic blobs :-). Use ndr_push_struct_blob() to push a properly formatted VERSION struct. Jeremy. | |||||
2010-05-18 | Fix our NTLMSSP implementation against the Microsoft torture tester. | Jeremy Allison | 1 | -13/+37 | |
We need to return a version blob if we negotiate version info. Jeremy. | |||||
2010-05-18 | s3: Remove use of iconv_convenience. | Jelmer Vernooij | 1 | -6/+0 | |
2010-05-18 | s3-crypto: only include crypto headers when crypto is done. | Günther Deschner | 1 | -0/+3 | |
Guenther | |||||
2010-03-24 | s3:ntlmssp: use c99 types | Stefan Metzmacher | 1 | -22/+22 | |
metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-24 | s3:ntlmssp: use client.netbios_name instead of workstation | Stefan Metzmacher | 1 | -4/+6 | |
metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-24 | s3:ntlmssp: remove unused ntlmssp_set_workstation() | Stefan Metzmacher | 1 | -13/+0 | |
metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-24 | s3:ntlmssp: inline ntlmssp_weaken_keys() | Stefan Metzmacher | 1 | -41/+0 | |
metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-24 | s3:ntlmssp: remove unused get_global_myname() and get_domain() from ↵ | Stefan Metzmacher | 1 | -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-24 | s3:ntlmssp: pass names and use_ntlmv2 to ntlmssp_client_start() and store them | Stefan Metzmacher | 1 | -16/+41 | |
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-24 | s3:ntlmssp: remove server_name from ntlmssp_state and fill the server.* ↵ | Stefan Metzmacher | 1 | -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-24 | s3:ntlmssp: pass names to ntlmssp_server_start() and store them in ntlmssp_state | Stefan Metzmacher | 1 | -36/+65 | |
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-03-24 | s3:ntlmssp: replace server_role by a server.is_standalone in ntlmssp_state | Stefan Metzmacher | 1 | -2/+2 | |
Inspired by the NTLMSSP merge work by Andrew Bartlett. metze Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-01-24 | s3: Add NTLMSSP_FEATURE_CCACHE | Volker Lendecke | 1 | -0/+60 | |
Uses the winbind ccache to do authentication if asked to do so | |||||
2010-01-24 | s3: Remove some calls to memset -- reduces text size by some bytes for me | Volker Lendecke | 1 | -5/+2 | |
2009-12-29 | s3:ntlmssp: change get_challange() to return NTSTATUS | Stefan Metzmacher | 1 | -3/+8 | |
metze | |||||
2009-12-29 | s3:ntlmssp: remove unused ntlmssp_stored_response() | Stefan Metzmacher | 1 | -25/+1 | |
metze | |||||
2009-12-29 | s3:ntlmssp: remove unused ref_count from ntlmssp_state | Stefan Metzmacher | 1 | -12/+4 | |
metze | |||||
2009-12-29 | s3:ntlmssp: rename NTLM_MESSAGE_TYPE into ntlmssp_message_type | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-12-22 | s3:ntlmssp: only include ntlmssp.h where actually needed | Andrew Bartlett | 1 | -0/+1 | |
Andrew Bartlett | |||||
2009-12-22 | s3:ntlmssp: remove the typedef NTLMSSP_STATE | Andrew Bartlett | 1 | -15/+15 | |
Andrew Bartlett | |||||
2009-12-22 | s3:ntlmssp: rename enum NTLMSSP_ROLE into enum ntlmssp_role | Andrew Bartlett | 1 | -1/+1 | |
Andrew Bartlett | |||||
2009-12-22 | libcli/auth Make gd's NDR NTLMSSP parsers helpers common | Andrew Bartlett | 1 | -1/+1 | |
(but not built in Samba4 for now) | |||||
2009-08-28 | s3-ntlmssp: use generated ntlmssp code for debugging purpose. | Günther Deschner | 1 | -0/+69 | |
Guenther | |||||
2009-08-28 | s3-ntlmssp: use interface constants in TargetInfo blob. | Günther Deschner | 1 | -5/+5 | |
Guenther | |||||
2009-08-28 | s3-ntlmssp: use NTLMSSP headers from IDL and remove duplicate constants. | Günther Deschner | 1 | -16/+14 | |
Guenther | |||||
2009-08-27 | s3-ntlmssp: remove trailing whitespace. | Günther Deschner | 1 | -96/+96 | |
Guenther | |||||
2009-04-20 | s3:ntlmssp Remove use of talloc(NULL) in NTLMSSP code | Andrew Bartlett | 1 | -10/+10 | |
2009-04-20 | s3:ntlmssp Fix segfault: msrpc_gen now uses talloc() | Andrew Bartlett | 1 | -46/+8 | |
2009-04-16 | Fix crash bug in NTLMSSP caused by msrpc_parse() moving to talloc | Andrew Bartlett | 1 | -4/+2 | |
2009-04-14 | More work to adapt to merged libcli/auth function prototypes | Andrew Bartlett | 1 | -10/+10 | |