mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
r17972: revert accidental commit to ads_verify_ticket()
This commit is contained in:
parent
fa05708789
commit
95f6b22e51
@ -376,15 +376,13 @@ NTSTATUS ads_verify_ticket(TALLOC_CTX *mem_ctx,
|
||||
goto out;
|
||||
}
|
||||
|
||||
/* always check secrets first in order to prevent hitting the
|
||||
keytab until really necessary */
|
||||
|
||||
auth_ok = ads_secrets_verify_ticket(context, auth_context, host_princ,
|
||||
ticket, &packet, &tkt, &keyblock);
|
||||
|
||||
if (!auth_ok && lp_use_kerberos_keytab()) {
|
||||
if (lp_use_kerberos_keytab()) {
|
||||
auth_ok = ads_keytab_verify_ticket(context, auth_context, ticket, &packet, &tkt, &keyblock);
|
||||
}
|
||||
if (!auth_ok) {
|
||||
auth_ok = ads_secrets_verify_ticket(context, auth_context, host_princ,
|
||||
ticket, &packet, &tkt, &keyblock);
|
||||
}
|
||||
|
||||
release_server_mutex();
|
||||
got_replay_mutex = False;
|
||||
|
Loading…
Reference in New Issue
Block a user