mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Fix Kerberos error handling in ipa-sam
https://fedorahosted.org/freeipa/ticket/4713 Reviewed-By: Alexander Bokovoy <abokovoy@redhat.com>
This commit is contained in:
parent
3663b8ca19
commit
02f85543dd
@ -4233,7 +4233,7 @@ static int bind_callback(LDAP *ldap_struct, struct smbldap_state *ldap_state, vo
|
||||
krb5_free_principal(data.context, in_creds.server);
|
||||
krb5_free_principal(data.context, in_creds.client);
|
||||
|
||||
if (rc) {
|
||||
if (rc != 0 && rc != KRB5KRB_AP_ERR_TKT_NYV && rc != KRB5KRB_AP_ERR_TKT_EXPIRED) {
|
||||
rc = bind_callback_obtain_creds(&data);
|
||||
if (rc) {
|
||||
bind_callback_cleanup(&data, rc);
|
||||
|
Loading…
Reference in New Issue
Block a user