(pass): fall-back for KRB_VERIFY_SECURE

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5702 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-03-22 21:22:07 +00:00
parent be38af2d48
commit 2ce2b33291

View File

@@ -790,6 +790,11 @@ pass(char *passwd)
#endif
else if((auth_level & AUTH_OTP) == 0) {
#ifdef KRB4
#ifndef KRB_VERIFY_SECURE
#define KRB_VERIFY_SECURE 1
#endif
char realm[REALM_SZ];
if((rval = krb_get_lrealm(realm, 1)) == KSUCCESS)
rval = krb_verify_user(pw->pw_name,