Destroy tickets after verification.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@4056 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -26,8 +26,9 @@ krb4_verify_password (POP *p)
|
||||
TKT_ROOT "_popper.%u", (unsigned)getpid());
|
||||
krb_set_tkt_string (tkt);
|
||||
|
||||
return krb_verify_user(p->user, "", lrealm, p->pop_parm[1],
|
||||
1, "pop");
|
||||
status = krb_verify_user(p->user, "", lrealm, p->pop_parm[1], 1, "pop");
|
||||
dest_tkt(); /* no point in keeping the tickets */
|
||||
return status;
|
||||
}
|
||||
#endif /* KRB4 */
|
||||
|
||||
|
Reference in New Issue
Block a user