Lines Matching refs:realm
105 char localhost[MAXHOSTNAMELEN], phost[INST_SZ], realm[REALM_SZ]; in auth_krb4_password() local
116 if (pw->pw_uid != 0 && krb_get_lrealm(realm, 1) == KSUCCESS) { in auth_krb4_password()
124 r = krb_get_pw_in_tkt((char *) pw->pw_name, "", realm, in auth_krb4_password()
125 "krbtgt", realm, DEFAULT_TKT_LIFE, (char *)password); in auth_krb4_password()
142 r = krb_mk_req(&tkt, KRB4_SERVICE_NAME, phost, realm, 33); in auth_krb4_password()
303 creds.realm, pw->pw_name); in auth_krb4_tgt()
312 if (save_credentials(creds.service, creds.instance, creds.realm, in auth_krb4_tgt()
322 creds.pname, creds.pinst[0] ? "." : "", creds.pinst, creds.realm); in auth_krb4_tgt()
359 if (kafs_settoken(creds.realm, uid, &creds)) { in auth_afs_token()
361 creds.pname, creds.realm, pw->pw_name); in auth_afs_token()
365 debug("AFS token accepted (%s@%s)", creds.pname, creds.realm); in auth_afs_token()