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:
@@ -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.
|
||||
|
Reference in New Issue
Block a user