(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:
Assar Westerlund
1999-03-17 22:36:42 +00:00
parent 86a043020d
commit 8f0cbccc8c

View File

@@ -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 ();