exit(1);
}
- if (status = get_krbrlm(krbrealm, 1)) {
+ if (status = krb_get_lrealm(krbrealm, 1)) {
status += ERROR_TABLE_BASE_krb;
com_err(whoami, status, " fetching kerberos realm");
exit(1);
}
- if (status = get_krbhst(krbhst, krbrealm, 1)) {
+ if (status = krb_get_krbhst(krbhst, krbrealm, 1)) {
status += ERROR_TABLE_BASE_krb;
com_err(whoami, status, " fetching kerberos hostname");
exit(1);
/* Get keys for interacting with Kerberos admin server. */
/* principal, instance, realm, service, service instance, life, file */
- if (status = get_svc_in_tkt("register", "sms", krbrealm, "changepw",
+ if (status = krb_get_svc_in_tkt("register", "sms", krbrealm, "changepw",
krbhst, 1, KEYFILE))
status += ERROR_TABLE_BASE_krb;
}
dest_tkt();
- com_err(whoami,status," returned from do_adin_call");
+ com_err(whoami,status," returned from do_admin_call");
return status;
}