Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-08-03 | s3-ntlmssp Remove auth_ntlmssp_and_flags() | Andrew Bartlett | 1 | -5/+0 | |
There is no need to mask out these flags as they simply are not set yet. The correct abstraction is to ask for NTLMSSP features. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-08-03 | s3-ntlmssp Remove rpccli_get_pwd_hash and auth_ntlmssp_get_nt_hash | Andrew Bartlett | 1 | -5/+0 | |
The session key we want here (the only one that is availble to the encryption layer) is the one obtained by cli_get_session_key(), as NTLMSSP creates a per-session session key via key exchange and NTLMv2 negotiation. The key was never directly the NT hash anyway (this is simply a mistake, the extra MD4() was lost during my previous cleanup f28f113d8e76824b080359c90efd9c92de533740 in 2008), but was MD4(NT hash) in early implementations of NTLMSSP. However, regardless this call is not available on domain trusts between AD domains and Windows 2003 R2, making this less useful. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-08-03 | s3-ntlmssp Remove auth_ntlmssp_or_flags | Andrew Bartlett | 2 | -6/+1 | |
We now just use auth_ntlmssp_want_feature to get extra flags on the NTLMSSP context Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-08-03 | s3-ntlmssp Remove calls to auth_ntlmssp_and_flags from the server | Andrew Bartlett | 1 | -3/+1 | |
This is changed so that the callers ask for the additional flags that they need, starting with no additional flags. This helps to create a proper abstraction layer in ntlmssp_wrap/auth_ntlmssp. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-08-03 | s3-ntlmssp Add mem_ctx argument to auth_ntlmssp_update | Andrew Bartlett | 2 | -3/+11 | |
This clarifies the lifetime of the returned token. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-08-03 | s3-ntlmssp NTLMSSP sealing implies signing, so set both flags | Andrew Bartlett | 1 | -0/+1 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-08-03 | s3-ntlmssp Add hooks to optionally call into GENSEC in auth_ntlmssp | Andrew Bartlett | 1 | -1/+52 | |
This allows the current behaviour of the NTLMSSP code to be unchanged while adding a way to hook in an alternate implementation via an auth module. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-08-03 | s3-ntlmssp Add mem_ctx argument to auth_ntlmssp_get_session_key() | Andrew Bartlett | 1 | -2/+2 | |
2011-08-03 | s3-ntlmssp Use auth_ntlmssp_*() functions in more places | Andrew Bartlett | 4 | -24/+26 | |
This allows auth_ntlmssp_get_ntlmssp_state() to be removed. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-08-03 | s3-ntlmssp Remove unused auth_ntlmssp_get_domain() | Andrew Bartlett | 1 | -6/+1 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-08-03 | s3-ntlmssp Remove unused auth_ntlmssp_get_client | Andrew Bartlett | 1 | -5/+0 | |
Signed-off-by: Andrew Tridgell <tridge@samba.org> | |||||
2011-08-03 | s3:libsmb/clifile: make use of cli_set_timeout() | Stefan Metzmacher | 1 | -12/+22 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Aug 3 10:16:18 CEST 2011 on sn-devel-104 | |||||
2011-08-03 | s3:cli_np_tstream: make use of cli_set_timeout() | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2011-08-03 | s3:libsmb/clidfs: make use of cli_state_encryption_on() | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2011-08-02 | s3:libsmb/libsmb_server: make use of cli_set_timeout() | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-08-02 | s3:libsmb/cli*: make use of cli_state_protocol() | Stefan Metzmacher | 4 | -14/+14 | |
metze | |||||
2011-08-02 | s3:libsmb: add cli_state_protocol() | Stefan Metzmacher | 2 | -0/+6 | |
metze | |||||
2011-08-02 | s3:libsmb/cli*: make use of cli_state_capabilities() | Stefan Metzmacher | 6 | -18/+18 | |
metze | |||||
2011-08-02 | s3:libsmb/libsmb_*: make use of cli_state_capabilities() | Stefan Metzmacher | 3 | -3/+3 | |
metze | |||||
2011-08-02 | s3:libsmb: add cli_state_capabilities() | Stefan Metzmacher | 2 | -0/+6 | |
metze | |||||
2011-08-02 | s3:smb2cli_base: smb2cli_req_send() needs to call tevent_req_post() on error | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-08-02 | Fix bug #8341 - libsmbclient segfault when feed the root of a mounted share ↵ | Alban Browaeys | 1 | -1/+2 | |
via an uri Fix null deref. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Aug 2 02:58:26 CEST 2011 on sn-devel-104 | |||||
2011-07-30 | Added missing return. Not strictly neccessary, the following if ↵ | Jeremy Allison | 1 | -0/+1 | |
(!NT_STATUS_EQUAL(status, NT_STATUS_NOT_SUPPORTED)) clause will catch this and use tevent_req_nterror(req, status); to set the status as NT_STATUS_OK, but it looks strange to do it that way. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Jul 30 01:34:24 CEST 2011 on sn-devel-104 | |||||
2011-07-29 | s3: Add a fallback for missing open&x support in OS/X Lion | Volker Lendecke | 1 | -19/+68 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri Jul 29 17:55:20 CEST 2011 on sn-devel-104 | |||||
2011-07-28 | s3:libsmb: use lp_load_client() and lp_load_client_no_reinit() in libsmb_context | Michael Adam | 1 | -5/+3 | |
2011-07-28 | s3:libsmb: fix a call to lp_load to reinit the globals in any case | Michael Adam | 1 | -1/+1 | |
The potential previous lp_load of $HOME/.smb/smb.conf might have failed halfway through and might have left globals initialized in an unwanted state. So we should make sure to clean up before loading the dyn_CONFIGFILE() | |||||
2011-07-27 | Fix bug #8324 - smbclient cannot list directories from a big-endian machine. | Jeremy Allison | 1 | -2/+2 | |
Two uses of the setup array are not being correctly byte-swapped to little endian. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Jul 27 03:14:48 CEST 2011 on sn-devel-104 | |||||
2011-07-27 | s3: Fix async smb handling | Volker Lendecke | 1 | -9/+21 | |
In cli_echo with more than one response we ended up with more than one read_smb request. One from the call to cli_smb_req_set_pending called from cli_smb_received. The other one from cli_smb_received itself. I don't really see another way to deal with this than to hold the read_smb request in the cli_state. Metze, please check! Volker | |||||
2011-07-24 | s3: Fix Coverity ID 2596, REVERSE_INULL | Volker Lendecke | 1 | -1/+2 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Jul 24 16:37:19 CEST 2011 on sn-devel-104 | |||||
2011-07-23 | s3:libsmb: cli_set_secdesc() only needs a const struct security_descriptor | Stefan Metzmacher | 2 | -2/+2 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Jul 23 11:08:19 CEST 2011 on sn-devel-104 | |||||
2011-07-23 | s3:libsmb: remove unused cli_query_secdesc_old() | Stefan Metzmacher | 2 | -50/+0 | |
metze | |||||
2011-07-23 | s3:libsmb_xattr: make use of the new cli_query_secdesc() | Stefan Metzmacher | 1 | -13/+13 | |
metze | |||||
2011-07-23 | s3-libsmb: introduce new cli_query_secdesc() which returns NTSTATUS | Björn Baumbach | 2 | -0/+52 | |
Replacement for cli_query_secdesc_old() Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-23 | s3-libsmb: rename cli_query_secdesc() to cli_query_secdesc_old() | Björn Baumbach | 3 | -4/+4 | |
Will introduce new cli_query_secdesc() function Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-23 | s3-libsmb: finally remove cli_read_old() | Björn Baumbach | 2 | -16/+0 | |
Replaced by new cli_read() which returns NTSTATUS instead of ssize_t. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-23 | s3-libsmb/libsmb_file.c: replace cli_read_old() with cli_read() | Björn Baumbach | 1 | -5/+5 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-07-22 | s3:libsmb: move cli_state->desthost to cli_state->conn.remote_name | Stefan Metzmacher | 2 | -5/+5 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 22 18:17:41 CEST 2011 on sn-devel-104 | |||||
2011-07-22 | s3:libsmb_server: make use of cli_state_remote_name() | Stefan Metzmacher | 1 | -3/+6 | |
metze | |||||
2011-07-22 | s3:libsmb/libsmb_dir: make use of cli_state_remote_name() | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2011-07-22 | s3:libsmb/clirap2: make use of cli_state_remote_name() | Stefan Metzmacher | 1 | -4/+5 | |
metze | |||||
2011-07-22 | s3:libsmb/clifsinfo: make use of cli_state_remote_name() | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-07-22 | s3:libsmb/clidfs: make use of cli_state_remote_name() | Stefan Metzmacher | 1 | -7/+14 | |
metze | |||||
2011-07-22 | s3:libsmb/cliconnect: make use of cli_state_remote_name() | Stefan Metzmacher | 1 | -7/+8 | |
metze | |||||
2011-07-22 | s3:libsmb: add cli_state_remote_name() | Stefan Metzmacher | 2 | -0/+6 | |
metze | |||||
2011-07-22 | s3:libsmb: remove const from cli_cm_display() | Stefan Metzmacher | 2 | -2/+2 | |
metze | |||||
2011-07-22 | s3:libsmb: move cli_state->{src_ss,dest_ss} to ↵ | Stefan Metzmacher | 1 | -6/+6 | |
cli_state->conn.{local_ss,remote_ss} metze | |||||
2011-07-22 | s3:libsmb: only pass const sockaddr_storage to cli_full_connection() | Stefan Metzmacher | 2 | -6/+2 | |
No direct or indirect caller needs this to be set. metze | |||||
2011-07-22 | s3:libsmb_server: pass NULL instead of a zero sockaddr_storage | Stefan Metzmacher | 1 | -3/+1 | |
metze | |||||
2011-07-22 | s3:libsmb: only pass a const sockaddr_storage to cli_start_connection() | Stefan Metzmacher | 2 | -6/+6 | |
Let the caller use cli_state_remote_sockaddr() if needed. metze | |||||
2011-07-22 | s3:libsmb: let cli_connect_nb() only expect a const sockaddr_storage *dest_ss | Stefan Metzmacher | 2 | -8/+8 | |
Only one caller expects this value to be set, which now calls cli_state_remote_sockaddr() to get the value. metze |