(afs_verify): use KRB_VERIFY_SECURE instead of 1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5571 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -68,7 +68,8 @@ afs_verify(char *name,
|
||||
"%s%d_%d", TKT_ROOT,
|
||||
(unsigned)pwd->pw_uid, (unsigned)getpid());
|
||||
krb_set_tkt_string (tkt_string);
|
||||
ret = krb_verify_user (name, "", lrealm, password, 1, NULL);
|
||||
ret = krb_verify_user (name, "", lrealm, password,
|
||||
KRB_VERIFY_SECURE, NULL);
|
||||
if (ret == KSUCCESS) {
|
||||
if (k_hasafs()) {
|
||||
k_setpag ();
|
||||
|
Reference in New Issue
Block a user