]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s4-auth/kerberos: Report errors observed during smb_krb5_remove_obsolete_keytab_entries()
authorAndrew Bartlett <abartlet@samba.org>
Thu, 14 Mar 2024 03:55:19 +0000 (16:55 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 14 Mar 2024 23:16:16 +0000 (23:16 +0000)
Previously any errors noticed during the main loop would be ignored.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Jo Sutton <josutton@catalyst.net.nz>
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Mar 14 23:16:16 UTC 2024 on atb-devel-224

source4/auth/kerberos/kerberos_util.c

index 30d9400bffbc04ce5121a7a42749c56ed2765248..d022b0dda1b58f03b5b83e62d86aca067b876b65 100644 (file)
@@ -712,6 +712,7 @@ krb5_error_code smb_krb5_remove_obsolete_keytab_entries(TALLOC_CTX *mem_ctx,
                                                smb_get_krb5_error_message(context,
                                                                           code,
                                                                           mem_ctx));
+               goto done;
        }
 
        code = 0;