(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:
@@ -790,6 +790,11 @@ pass(char *passwd)
|
|||||||
#endif
|
#endif
|
||||||
else if((auth_level & AUTH_OTP) == 0) {
|
else if((auth_level & AUTH_OTP) == 0) {
|
||||||
#ifdef KRB4
|
#ifdef KRB4
|
||||||
|
|
||||||
|
#ifndef KRB_VERIFY_SECURE
|
||||||
|
#define KRB_VERIFY_SECURE 1
|
||||||
|
#endif
|
||||||
|
|
||||||
char realm[REALM_SZ];
|
char realm[REALM_SZ];
|
||||||
if((rval = krb_get_lrealm(realm, 1)) == KSUCCESS)
|
if((rval = krb_get_lrealm(realm, 1)) == KSUCCESS)
|
||||||
rval = krb_verify_user(pw->pw_name,
|
rval = krb_verify_user(pw->pw_name,
|
||||||
|
Reference in New Issue
Block a user