(krb5_verify): always do krb5_afslog, remove setpag (its done in main)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11869 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -871,12 +871,9 @@ krb5_verify(struct passwd *pwd, char *passwd)
|
|||||||
1,
|
1,
|
||||||
NULL);
|
NULL);
|
||||||
krb5_free_principal(context, princ);
|
krb5_free_principal(context, princ);
|
||||||
#ifdef KRB4
|
|
||||||
if (k_hasafs()) {
|
if (k_hasafs()) {
|
||||||
k_setpag();
|
|
||||||
krb5_afslog_uid_home(context, id,NULL, NULL,pwd->pw_uid, pwd->pw_dir);
|
krb5_afslog_uid_home(context, id,NULL, NULL,pwd->pw_uid, pwd->pw_dir);
|
||||||
}
|
}
|
||||||
#endif /* KRB4 */
|
|
||||||
krb5_cc_destroy(context, id);
|
krb5_cc_destroy(context, id);
|
||||||
krb5_free_context (context);
|
krb5_free_context (context);
|
||||||
if(ret)
|
if(ret)
|
||||||
|
Reference in New Issue
Block a user