diff options
author | Günther Deschner <gd@samba.org> | 2009-08-25 21:09:53 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2009-08-27 15:55:18 +0200 |
commit | 17d3800e923fd51f6dd9799d39d56a012f2ad600 (patch) | |
tree | dceb6cac93740a1a160b34683188dbe60d109f6a /source4 | |
parent | a18d6839aceb7db05f46d87281ad41f30edb515f (diff) | |
download | samba-17d3800e923fd51f6dd9799d39d56a012f2ad600.tar.gz samba-17d3800e923fd51f6dd9799d39d56a012f2ad600.tar.bz2 samba-17d3800e923fd51f6dd9799d39d56a012f2ad600.zip |
s4-schannel: add ldb suffix to schannel functions.
Guenther
Diffstat (limited to 'source4')
-rw-r--r-- | source4/auth/gensec/schannel.c | 4 | ||||
-rw-r--r-- | source4/rpc_server/netlogon/dcerpc_netlogon.c | 16 |
2 files changed, 10 insertions, 10 deletions
diff --git a/source4/auth/gensec/schannel.c b/source4/auth/gensec/schannel.c index 08fce2f049..8e56f671d7 100644 --- a/source4/auth/gensec/schannel.c +++ b/source4/auth/gensec/schannel.c @@ -135,8 +135,8 @@ static NTSTATUS schannel_update(struct gensec_security *gensec_security, TALLOC_ return NT_STATUS_ACCESS_DENIED; } /* pull the session key for this client */ - status = schannel_fetch_session_key(schannel_ldb, - out_mem_ctx, workstation, &creds); + status = schannel_fetch_session_key_ldb(schannel_ldb, + out_mem_ctx, workstation, &creds); talloc_free(schannel_ldb); if (!NT_STATUS_IS_OK(status)) { DEBUG(3, ("Could not find session key for attempted schannel connection from %s: %s\n", diff --git a/source4/rpc_server/netlogon/dcerpc_netlogon.c b/source4/rpc_server/netlogon/dcerpc_netlogon.c index cee94d8ea6..b364062ba1 100644 --- a/source4/rpc_server/netlogon/dcerpc_netlogon.c +++ b/source4/rpc_server/netlogon/dcerpc_netlogon.c @@ -260,7 +260,7 @@ static NTSTATUS dcesrv_netr_ServerAuthenticate3(struct dcesrv_call_state *dce_ca return NT_STATUS_ACCESS_DENIED; } - nt_status = schannel_store_session_key(schannel_ldb, mem_ctx, creds); + nt_status = schannel_store_session_key_ldb(schannel_ldb, mem_ctx, creds); talloc_free(schannel_ldb); return nt_status; @@ -342,12 +342,12 @@ static NTSTATUS dcesrv_netr_creds_server_step_check(struct dcesrv_call_state *dc if (!ldb) { return NT_STATUS_ACCESS_DENIED; } - nt_status = schannel_creds_server_step_check(ldb, mem_ctx, - computer_name, - schannel_global_required, - schannel_in_use, - received_authenticator, - return_authenticator, creds_out); + nt_status = schannel_creds_server_step_check_ldb(ldb, mem_ctx, + computer_name, + schannel_global_required, + schannel_in_use, + received_authenticator, + return_authenticator, creds_out); talloc_free(ldb); return nt_status; } @@ -677,7 +677,7 @@ static NTSTATUS dcesrv_netr_LogonSamLogonEx(struct dcesrv_call_state *dce_call, return NT_STATUS_ACCESS_DENIED; } - nt_status = schannel_fetch_session_key(ldb, mem_ctx, r->in.computer_name, &creds); + nt_status = schannel_fetch_session_key_ldb(ldb, mem_ctx, r->in.computer_name, &creds); if (!NT_STATUS_IS_OK(nt_status)) { return nt_status; } |