Add more HDB_F flags to hdb_fetch. Pointed out by Andrew Bartlet.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18368 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -220,7 +220,10 @@ hdb_get_entry(krb5_context context,
|
||||
(*db->hdb_destroy)(context, db);
|
||||
return ret;
|
||||
}
|
||||
ret = (*db->hdb_fetch)(context, db, principal, HDB_F_DECRYPT, &ent);
|
||||
ret = (*db->hdb_fetch)(context, db, principal,
|
||||
HDB_F_DECRYPT||
|
||||
HDB_F_GET_CLIENT|HDB_F_GET_SERVER|HDB_F_GET_KRBTGT,
|
||||
&ent);
|
||||
|
||||
if(ret == HDB_ERR_NOENTRY) {
|
||||
ret = KRB5_KT_NOTFOUND;
|
||||
|
Reference in New Issue
Block a user