(pass): chown the ticket file is logging in with clear-text passwords

and using kerberos


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@3358 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1997-09-03 16:32:02 +00:00
parent 818e1c6930
commit b87cd3002c

View File

@@ -876,6 +876,7 @@ pass(char *passwd)
rval = krb_verify_user(pw->pw_name, "", realm,
passwd, 1, NULL);
if (rval == KSUCCESS ){
chown (tkt_string(), pw->pw_uid, pw->pw_gid);
if(k_hasafs())
k_afsklog(0, 0);
}else