Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-09-14 | s3:rpc_client: return NT_STATUS_CONNECTION_DISCONNECTED | Stefan Metzmacher | 1 | -2/+2 | |
We should return the same in all places and don't mix NT_STATUS_INVALID_CONNECTION and NT_STATUS_CONNECTION_INVALID. metze | |||||
2011-08-03 | s3-ntlmssp Remove auth_ntlmssp_and_flags() | Andrew Bartlett | 1 | -6/+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 | -41/+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 | 1 | -3/+2 | |
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 Add mem_ctx argument to auth_ntlmssp_update | Andrew Bartlett | 1 | -3/+4 | |
This clarifies the lifetime of the returned token. 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-07-22 | s3:cli_pipe: make use of cli_state_remote_name() | Stefan Metzmacher | 1 | -4/+4 | |
metze | |||||
2011-07-22 | s3:cli_pipe: use result->desthost instead of cli->desthost | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2011-06-09 | s3-param Remove special case for global_myname(), rename to lp_netbios_name() | Andrew Bartlett | 1 | -2/+2 | |
There is no reason this can't be a normal constant string in the loadparm system, now that we have lp_set_cmdline() to handle overrides correctly. Andrew Bartlett | |||||
2011-06-09 | s3-talloc Change TALLOC_ZERO_P() to talloc_zero() | Andrew Bartlett | 1 | -5/+5 | |
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc. | |||||
2011-06-09 | s3-talloc Change TALLOC_ARRAY() to talloc_array() | Andrew Bartlett | 1 | -2/+2 | |
Using the standard macro makes it easier to move code into common, as TALLOC_ARRAY isn't standard talloc. | |||||
2011-05-06 | s3-includes: finally only include client.h when libsmb is used. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-05-05 | Fix many const compiler warnings. | Jeremy Allison | 1 | -1/+1 | |
2011-05-05 | s3-rpc_client: run minimal_includes.pl. | Günther Deschner | 1 | -1/+0 | |
Guenther | |||||
2011-05-02 | s3: remove various references to server side dcerpc structs (which are not ↵ | Günther Deschner | 1 | -1/+0 | |
needed). Guenther | |||||
2011-04-29 | s3-tevent: only include ../lib/util/tevent wrappers where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104 | |||||
2011-04-24 | s3:rpc_client: map fault codes to NTSTATUS with dcerpc_fault_to_nt_status() | Stefan Metzmacher | 1 | -5/+1 | |
Most fault codes have a NTSTATUS representation, so use that. This brings the fault handling in common with the source4/librpc/rpc code, which make it possible to share more highlevel code, between source3 and source4 as the error checking can be the same now. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Apr 24 10:44:53 CEST 2011 on sn-devel-104 | |||||
2011-04-22 | s3: Fix Coverity ID 986, BUFFER_SIZE_WARNING | Volker Lendecke | 1 | -1/+1 | |
strncpy can leave the destination unterminated | |||||
2011-04-13 | s3-cli_pipe: fix timeout in rpc_pipe_open_tcp_port(). | Günther Deschner | 1 | -1/+1 | |
Make sure we use a timeout of 60 seconds, not 60 milliseconds... This prevented us from successfully using the ncacn_ip_tcp client in a lot of places, I guess. Guenther Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Apr 13 18:59:19 CEST 2011 on sn-devel-104 | |||||
2011-03-30 | s3-includes: only include ntdomain.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-03-23 | s3-epmapper: Use DCERPC_AUTH_LEVEL_CONNECT for ep ncalrpc. | Andreas Schneider | 1 | -1/+1 | |
2011-03-16 | s3: Fix Coverity ID 2232, REVERSE_INULL | Volker Lendecke | 1 | -2/+4 | |
No point checking for !cli after dereferencing it | |||||
2011-03-09 | s3-rpc_client: Don't ask endpoint mapper for its own port. | Andreas Schneider | 1 | -0/+6 | |
2011-03-08 | s3-rpc_client: Added DCERPC_AUTH_TYPE_NCALRPC bind. | Andreas Schneider | 1 | -0/+33 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-02-28 | s3-rpc_client: Move client pipe functions to own header. | Andreas Schneider | 1 | -0/+1 | |
2011-02-09 | s3:rpc_client: make rpccli_bh_create() non-static for now | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2011-01-28 | s3-rpc_client: remove some more obsolete cli_X.h header files. | Günther Deschner | 1 | -1/+1 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Jan 28 11:18:44 CET 2011 on sn-devel-104 | |||||
2011-01-21 | s3-rpc_client: fix uninitialized variable found by -O3. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2011-01-04 | s3:rpc_client: use dcerpc_epm_Map() and don't ignore 'result' anymore. | Stefan Metzmacher | 1 | -2/+11 | |
metze | |||||
2010-09-23 | s3-dcerpc: make auth context opaque | Simo Sorce | 1 | -49/+84 | |
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-23 | s3-dcerpc: finally remove the legaqcy spnego_type variable from pipe_auth_data | Simo Sorce | 1 | -9/+3 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-23 | s3-dcerpc: move client spnego stuff in /librpc/crypto | Simo Sorce | 1 | -1/+1 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-23 | spnego: avoid explicit dependency on dcerpc specific structures | Simo Sorce | 1 | -5/+14 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-23 | gssapi: avoid explicit dependency on dcerpc specific structures | Simo Sorce | 1 | -1/+3 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-23 | s3-dcerpc: move crypto stuff in /librpc/crypto | Simo Sorce | 1 | -1/+1 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-17 | s3:rpc_client: remove unused rpc_pipe_set_hnd_state() | Stefan Metzmacher | 1 | -47/+0 | |
metze | |||||
2010-09-17 | s3:rpc_client: use rpc_api_pipe_send() for auth3 | Stefan Metzmacher | 1 | -20/+11 | |
metze | |||||
2010-09-17 | s3:rpc_client: rpc_pipe_bind_step_one_done() doesn't need reply_pdu | Stefan Metzmacher | 1 | -2/+1 | |
metze | |||||
2010-09-17 | s3:rpc_client: allow DCERPC_PKT_AUTH3 via rpc_api_pipe_send/recv | Stefan Metzmacher | 1 | -0/+28 | |
metze | |||||
2010-09-04 | s3:rpc_client: implement rpccli_bh_set_timeout() | Stefan Metzmacher | 1 | -0/+10 | |
metze | |||||
2010-08-26 | s3-dcerpc: only include rpc_dce.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-26 | s3: separate out cli schannel functions that depend on cli_netlogon. | Günther Deschner | 1 | -200/+0 | |
Guenther | |||||
2010-08-24 | s3-dcerpc: avoid talloc_move on schannel creds in ↵ | Günther Deschner | 1 | -3/+7 | |
cli_rpc_pipe_open_schannel_with_key(). Initially, the schannel creds were talloc memduped, then, during the netlogon creds client merge (baf7274fed2f1ae7a9e3a57160bf5471566e636c) they were first talloc_referenced and then later (53765c81f726a8c056cc4e57004592dd489975c9) talloc_moved. The issue with using talloc_move here is that users of that function in winbind will only be able to have two schanneled connections, as the cached schannel credentials pointer from the netlogon pipe will be set to NULL. Do a deep copy of the struct instead. Guenther | |||||
2010-08-23 | s3-dcerpc: Allocate structure members on the right context | Simo Sorce | 1 | -1/+1 | |
2010-08-17 | s3-dcerpc: fix uninitialized variable in cli_get_session_key(). | Günther Deschner | 1 | -1/+1 | |
Simo, please check. Guenther | |||||
2010-08-17 | s3-dcerpc: Use common send functions for ntlmssp too | Simo Sorce | 1 | -51/+12 | |
Remove unused function. | |||||
2010-08-17 | s3-dcerpc: properly implement gse/spnego_get_session_key | Simo Sorce | 1 | -7/+4 | |
2010-08-17 | s3-dcerpc: Check data and return appropriate error | Simo Sorce | 1 | -2/+17 | |
2010-08-17 | Change debug statements to use __location__ | Simo Sorce | 1 | -13/+11 | |
2010-08-17 | s3-dcerpc: Pull packet in the caller, before validation | Simo Sorce | 1 | -31/+37 | |