use krb5_principal_get_realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@25111 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -725,14 +725,13 @@ tgs_make_reply(krb5_context context,
|
|||||||
PRINCIPAL_ALLOW_DISABLE_TRANSITED_CHECK(server)) ||
|
PRINCIPAL_ALLOW_DISABLE_TRANSITED_CHECK(server)) ||
|
||||||
GLOBAL_ALLOW_DISABLE_TRANSITED_CHECK),
|
GLOBAL_ALLOW_DISABLE_TRANSITED_CHECK),
|
||||||
&tgt->transited, &et,
|
&tgt->transited, &et,
|
||||||
*krb5_princ_realm(context, client_principal),
|
krb5_principal_get_realm(context, client_principal),
|
||||||
*krb5_princ_realm(context, server->entry.principal),
|
krb5_principal_get_realm(context, server->entry.principal),
|
||||||
*krb5_princ_realm(context, krbtgt->entry.principal));
|
krb5_principal_get_realm(context, krbtgt->entry.principal));
|
||||||
if(ret)
|
if(ret)
|
||||||
goto out;
|
goto out;
|
||||||
|
|
||||||
copy_Realm(krb5_princ_realm(context, server_principal),
|
copy_Realm(&server_principal->realm, &rep.ticket.realm);
|
||||||
&rep.ticket.realm);
|
|
||||||
_krb5_principal2principalname(&rep.ticket.sname, server_principal);
|
_krb5_principal2principalname(&rep.ticket.sname, server_principal);
|
||||||
copy_Realm(&tgt_name->realm, &rep.crealm);
|
copy_Realm(&tgt_name->realm, &rep.crealm);
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user