Skip to content

Commit

Permalink
Bug fix:
Browse files Browse the repository at this point in the history
When trying to apply iprop updates, it is possible for an update to be
only partially applied but not recorded in the ulog. If the last record
was a deletion, the subsequent replay of the record will fail because
the record was already deleted. This fix ignores the KRB5_KDB_NOENTRY
while attempting a deletion, since the deletion was already processed.
  • Loading branch information
rbasch committed Nov 3, 2013
1 parent 9a788de commit cdd7b8c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/lib/kdb/kdb_log.c
Original file line number Diff line number Diff line change
Expand Up @@ -378,6 +378,8 @@ ulog_replay(krb5_context context, kdb_incr_result_t *incr_ret, char **db_args)
dbprinc = NULL;
}

if (retval == KRB5_KDB_NOENTRY)
retval = 0;
if (retval)
goto cleanup;
} else {
Expand Down

0 comments on commit cdd7b8c

Please sign in to comment.