update to new krb5_auth_con* names
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10107 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -224,7 +224,7 @@ kerberos5_send(char *name, Authenticator *ap)
|
||||
return(0);
|
||||
}
|
||||
|
||||
krb5_auth_setkeytype (context, auth_context, KEYTYPE_DES);
|
||||
krb5_auth_con_setkeytype (context, auth_context, KEYTYPE_DES);
|
||||
|
||||
foo[0] = ap->type;
|
||||
foo[1] = ap->way;
|
||||
|
@@ -307,9 +307,9 @@ main(int argc, char **argv)
|
||||
free(server);
|
||||
krb5_free_ticket (context, ticket);
|
||||
|
||||
ret = krb5_auth_getauthenticator(context, ac, &authent);
|
||||
ret = krb5_auth_con_getauthenticator(context, ac, &authent);
|
||||
if(ret)
|
||||
krb5_err(context, 1, ret, "krb5_auth_getauthenticator");
|
||||
krb5_err(context, 1, ret, "krb5_auth_con_getauthenticator");
|
||||
|
||||
ret = krb5_make_principal(context, &c1, NULL, "kadmin", "hprop", NULL);
|
||||
if(ret)
|
||||
|
@@ -1237,7 +1237,7 @@ tgs_check_authenticator(krb5_auth_context ac,
|
||||
krb5_error_code ret;
|
||||
krb5_crypto crypto;
|
||||
|
||||
krb5_auth_getauthenticator(context, ac, &auth);
|
||||
krb5_auth_con_getauthenticator(context, ac, &auth);
|
||||
if(auth->cksum == NULL){
|
||||
kdc_log(0, "No authenticator in request");
|
||||
ret = KRB5KRB_AP_ERR_INAPP_CKSUM;
|
||||
@@ -1438,7 +1438,7 @@ tgs_rep2(KDC_REQ_BODY *b,
|
||||
{
|
||||
krb5_authenticator auth;
|
||||
|
||||
ret = krb5_auth_getauthenticator(context, ac, &auth);
|
||||
ret = krb5_auth_con_getauthenticator(context, ac, &auth);
|
||||
if (ret == 0) {
|
||||
*csec = malloc(sizeof(**csec));
|
||||
if (*csec == NULL) {
|
||||
|
Reference in New Issue
Block a user