k_afsklog -> krb_afslog

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4174 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Johan Danielsson
1997-12-09 10:36:35 +00:00
parent 7f59ed24d7
commit 8992fd12af
4 changed files with 5 additions and 5 deletions

View File

@@ -895,7 +895,7 @@ pass(char *passwd)
if (rval == KSUCCESS ) {
chown (tkt_string(), pw->pw_uid, pw->pw_gid);
if(k_hasafs())
k_afsklog(0, 0);
krb_afslog(0, 0);
} else
rval = unix_verify_user(pw->pw_name, passwd);
} else {

View File

@@ -215,7 +215,7 @@ kauth(char *principal, char *ticket)
do_destroy_tickets = 1;
if(k_hasafs())
k_afsklog(0, 0);
krb_afslog(0, 0);
reply(200, "Tickets will be destroyed on exit.");
return;
}
@@ -367,7 +367,7 @@ void
afslog(const char *cell)
{
if(k_hasafs()) {
k_afsklog(cell, 0);
krb_afslog(cell, 0);
reply(200, "afslog done");
} else {
reply(200, "no AFS present");

View File

@@ -72,7 +72,7 @@ afs_verify(char *name,
if (ret == KSUCCESS) {
if (k_hasafs()) {
k_setpag ();
k_afsklog_uid (0, 0, pwd->pw_uid);
krb_afslog_uid (0, 0, pwd->pw_uid);
}
} else if (!quiet)
printf ("%s\n", krb_get_err_text (ret));

View File

@@ -217,7 +217,7 @@ pam_sm_open_session(pam_handle_t *pamh, int flags, int argc, const char **argv)
setenv("KRBTKFILE", tkt, 1);
if(k_hasafs()){
k_setpag();
k_afsklog(0, 0);
krb_afslog(0, 0);
}
return PAM_SUCCESS;
}