kdc: Fix #1059
This commit is contained in:
@@ -1327,6 +1327,7 @@ _kdc_db_fetch_client(krb5_context context,
|
|||||||
krb5_error_code ret;
|
krb5_error_code ret;
|
||||||
hdb_entry *client = NULL;
|
hdb_entry *client = NULL;
|
||||||
|
|
||||||
|
*clientdb = NULL;
|
||||||
*client_out = NULL;
|
*client_out = NULL;
|
||||||
|
|
||||||
ret = _kdc_db_fetch(context, config, cp, HDB_F_GET_CLIENT | flags,
|
ret = _kdc_db_fetch(context, config, cp, HDB_F_GET_CLIENT | flags,
|
||||||
@@ -1382,7 +1383,7 @@ tgs_build_reply(astgs_request_t priv,
|
|||||||
char *user2user_name = NULL;
|
char *user2user_name = NULL;
|
||||||
HDB *user2user_krbtgtdb;
|
HDB *user2user_krbtgtdb;
|
||||||
hdb_entry *user2user_krbtgt = NULL;
|
hdb_entry *user2user_krbtgt = NULL;
|
||||||
HDB *clientdb;
|
HDB *clientdb = NULL;
|
||||||
HDB *serverdb = NULL;
|
HDB *serverdb = NULL;
|
||||||
krb5_realm ref_realm = NULL;
|
krb5_realm ref_realm = NULL;
|
||||||
EncTicketPart *tgt = &priv->ticket->ticket;
|
EncTicketPart *tgt = &priv->ticket->ticket;
|
||||||
|
@@ -139,6 +139,7 @@ _kdc_db_fetch(krb5_context context,
|
|||||||
krb5_const_principal princ;
|
krb5_const_principal princ;
|
||||||
|
|
||||||
*h = NULL;
|
*h = NULL;
|
||||||
|
*db = NULL;
|
||||||
|
|
||||||
if (!name_type_ok(context, config, principal))
|
if (!name_type_ok(context, config, principal))
|
||||||
return HDB_ERR_NOENTRY;
|
return HDB_ERR_NOENTRY;
|
||||||
|
Reference in New Issue
Block a user