Report HDB_AUTH_SUCCESS for PK-INIT too.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25308 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Love Hörnquist Åstrand
2009-07-03 04:34:18 +00:00
parent 7829e74641
commit 97b8122bc6

View File

@@ -1228,9 +1228,6 @@ _kdc_as_rep(krb5_context context,
if (ret)
str = NULL;
if (clientdb->hdb_auth_status)
(clientdb->hdb_auth_status)(context, clientdb, client, HDB_AUTH_SUCCESS);
kdc_log(context, config, 2,
"ENC-TS Pre-authentication succeeded -- %s using %s",
client_name, str ? str : "unknown enctype");
@@ -1342,6 +1339,10 @@ _kdc_as_rep(krb5_context context,
goto out;
}
if (clientdb->hdb_auth_status)
(clientdb->hdb_auth_status)(context, clientdb, client,
HDB_AUTH_SUCCESS);
/*
* Verify flags after the user been required to prove its identity
* with in a preauth mech.