summaryrefslogtreecommitdiff
path: root/third_party/heimdal/kpasswd/kpasswdd.c
diff options
context:
space:
mode:
authorJoseph Sutton <josephsutton@catalyst.net.nz>2022-03-01 14:17:54 +1300
committerJule Anger <janger@samba.org>2022-03-02 10:26:30 +0000
commite26fbf420e41666cb1ccbe955a411ffbbcdfaae4 (patch)
tree7f48fdb9d628d02b16b85603969572df1adec64a /third_party/heimdal/kpasswd/kpasswdd.c
parentc9a77ff43e07c144052e9db53699ab3304233ac0 (diff)
downloadsamba-e26fbf420e41666cb1ccbe955a411ffbbcdfaae4.tar.gz
third_party/heimdal: import lorikeet-heimdal-202203010107 (commit 0e7a12404c388e831fe6933fcc3c86e7eb334825)
NOTE: THIS COMMIT WON'T COMPILE/WORK ON ITS OWN! BUG: https://bugzilla.samba.org/show_bug.cgi?id=14995 Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> (cherry picked from commit 51569b3152a952d07fddaa3a70d60c920618c704)
Diffstat (limited to 'third_party/heimdal/kpasswd/kpasswdd.c')
-rw-r--r--third_party/heimdal/kpasswd/kpasswdd.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/third_party/heimdal/kpasswd/kpasswdd.c b/third_party/heimdal/kpasswd/kpasswdd.c
index 344688e296e..e04eebe46e1 100644
--- a/third_party/heimdal/kpasswd/kpasswdd.c
+++ b/third_party/heimdal/kpasswd/kpasswdd.c
@@ -406,6 +406,7 @@ change (krb5_auth_context auth_context,
krb5_warnx(context,
"%s didn't pass password quality check with error: %s",
client, str);
+ break;
default:
krb5_warnx(context, "kadm5_s_chpass_principal_cond: %s", str);
}
@@ -772,6 +773,7 @@ doit(krb5_keytab keytab, int port)
free(sockets);
krb5_free_addresses(context, &addrs);
+ krb5_kt_close(context, keytab);
krb5_free_context(context);
return 0;
}