remove definition of KRB_VERIFY_USER (moved to config.h)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5883 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -790,11 +790,6 @@ 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,
|
||||||
|
@@ -26,9 +26,6 @@ krb4_verify_password (POP *p)
|
|||||||
TKT_ROOT "_popper.%u", (unsigned)getpid());
|
TKT_ROOT "_popper.%u", (unsigned)getpid());
|
||||||
krb_set_tkt_string (tkt);
|
krb_set_tkt_string (tkt);
|
||||||
|
|
||||||
#ifndef KRB_VERIFY_SECURE
|
|
||||||
#define KRB_VERIFY_SECURE 1
|
|
||||||
#endif
|
|
||||||
status = krb_verify_user(p->user, "", lrealm,
|
status = krb_verify_user(p->user, "", lrealm,
|
||||||
p->pop_parm[1], KRB_VERIFY_SECURE, "pop");
|
p->pop_parm[1], KRB_VERIFY_SECURE, "pop");
|
||||||
dest_tkt(); /* no point in keeping the tickets */
|
dest_tkt(); /* no point in keeping the tickets */
|
||||||
|
@@ -98,11 +98,6 @@ setup_password(SIAENTITY *e, prompt_t *p)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
#if defined(SIA_KRB4) && !defined(KRB_VERIFY_SECURE)
|
|
||||||
#define KRB_VERIFY_SECURE 1
|
|
||||||
#define KRB_VERIFY_NOT_SECURE 0
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static int
|
static int
|
||||||
doauth(SIAENTITY *entity, int pkgind, char *name)
|
doauth(SIAENTITY *entity, int pkgind, char *name)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user