git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f8363f
)
krb5_wrap: don't ignore krb5_kt_start_seq_get() errors
author
Stefan Metzmacher
<metze@samba.org>
Thu, 1 Feb 2024 12:58:32 +0000
(13:58 +0100)
committer
Stefan Metzmacher
<metze@samba.org>
Tue, 30 Apr 2024 12:52:50 +0000
(14:52 +0200)
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Björn Jacke <bjacke@samba.org>
lib/krb5_wrap/krb5_samba.c
patch
|
blob
|
history
diff --git
a/lib/krb5_wrap/krb5_samba.c
b/lib/krb5_wrap/krb5_samba.c
index 116f916234da7e74117dae70f95146ce552c29d8..4100e41ff864ab590235d8e3fa068723e8f0b2f6 100644
(file)
--- a/
lib/krb5_wrap/krb5_samba.c
+++ b/
lib/krb5_wrap/krb5_samba.c
@@
-1728,6
+1728,12
@@
krb5_error_code smb_krb5_kt_seek_and_delete_old_entries(krb5_context context,
return 0;
}
+ if (ret != 0) {
+ DBG_ERR("krb5_kt_start_seq_get() failed with: %d - %s\n",
+ ret, error_message(ret));
+ return ret;
+ }
+
DEBUG(3, (__location__ ": Will try to delete old keytab entries\n"));
while (!krb5_kt_next_entry(context, keytab, &kt_entry, &cursor)) {
bool name_ok = false;