diff options
author | Günther Deschner <gd@samba.org> | 2012-12-14 14:17:22 +0100 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2012-12-15 21:50:36 +0100 |
commit | 563cc67ac65c2061971c4b02ac7037e00f1f9ae8 (patch) | |
tree | 045d5c72b6dfd2f4edede8a14324609ab24248d0 /source4 | |
parent | 6127ba853b8288be60adc70bc0ea084f26e216f7 (diff) | |
download | samba-563cc67ac65c2061971c4b02ac7037e00f1f9ae8.tar.gz samba-563cc67ac65c2061971c4b02ac7037e00f1f9ae8.tar.bz2 samba-563cc67ac65c2061971c4b02ac7037e00f1f9ae8.zip |
libcli/auth: rename netlogon_creds_decrypt_samlogon() to netlogon_creds_decrypt_samlogon_validation().
Guenther
Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4')
-rw-r--r-- | source4/torture/rpc/samlogon.c | 12 | ||||
-rw-r--r-- | source4/winbind/wb_sam_logon.c | 6 |
2 files changed, 12 insertions, 6 deletions
diff --git a/source4/torture/rpc/samlogon.c b/source4/torture/rpc/samlogon.c index 8d13a6350e..bd85c229ac 100644 --- a/source4/torture/rpc/samlogon.c +++ b/source4/torture/rpc/samlogon.c @@ -176,7 +176,9 @@ static NTSTATUS check_samlogon(struct samlogon_state *samlogon_state, validation_level = r->in.validation_level; - netlogon_creds_decrypt_samlogon(samlogon_state->creds, validation_level, r->out.validation); + netlogon_creds_decrypt_samlogon_validation(samlogon_state->creds, + validation_level, + r->out.validation); switch (validation_level) { case 2: @@ -208,7 +210,9 @@ static NTSTATUS check_samlogon(struct samlogon_state *samlogon_state, validation_level = r_ex->in.validation_level; - netlogon_creds_decrypt_samlogon(samlogon_state->creds, validation_level, r_ex->out.validation); + netlogon_creds_decrypt_samlogon_validation(samlogon_state->creds, + validation_level, + r_ex->out.validation); switch (validation_level) { case 2: @@ -248,7 +252,9 @@ static NTSTATUS check_samlogon(struct samlogon_state *samlogon_state, validation_level = r_flags->in.validation_level; - netlogon_creds_decrypt_samlogon(samlogon_state->creds, validation_level, r_flags->out.validation); + netlogon_creds_decrypt_samlogon_validation(samlogon_state->creds, + validation_level, + r_flags->out.validation); switch (validation_level) { case 2: diff --git a/source4/winbind/wb_sam_logon.c b/source4/winbind/wb_sam_logon.c index 32fddd2e0a..e940082791 100644 --- a/source4/winbind/wb_sam_logon.c +++ b/source4/winbind/wb_sam_logon.c @@ -208,9 +208,9 @@ static void wb_sam_logon_recv_samlogon(struct tevent_req *subreq) /* Decrypt the session keys before we reform the info3, so the * person on the other end of winbindd pipe doesn't have to. * They won't have the encryption key anyway */ - netlogon_creds_decrypt_samlogon(state->creds_state, - state->r.in.validation_level, - state->r.out.validation); + netlogon_creds_decrypt_samlogon_validation(state->creds_state, + state->r.in.validation_level, + state->r.out.validation); /* * we do not need the netlogon_creds lock anymore |