mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Need to supsend looping through the keytab entries when doing a delete.
This commit is contained in:
parent
af20a1a2da
commit
bf9d4c5984
@ -116,6 +116,11 @@ remove_realm(krb5_context context, krb5_keytab ktid, const char *realm, int debu
|
||||
goto done;
|
||||
}
|
||||
|
||||
|
||||
/* keytab entries are locked when looping. Temporarily suspend
|
||||
* the looping. */
|
||||
krb5_kt_end_seq_get(context, ktid, &kt_cursor);
|
||||
|
||||
if (strstr(entry_princ_s, realm) != NULL) {
|
||||
rval = remove_principal(context, ktid, entry_princ_s, debug);
|
||||
if (rval != 0)
|
||||
|
Loading…
Reference in New Issue
Block a user