(verify): use KRB_VERIFY_SECURE instead of 1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@5569 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -632,7 +632,8 @@ verify(char *password)
|
||||
/*
|
||||
* Try to verify as user with kerberos 4.
|
||||
*/
|
||||
ret = krb_verify_user(name, inst, realm, password, 0, NULL);
|
||||
ret = krb_verify_user(name, inst, realm, password,
|
||||
KRB_VERIFY_NOT_SECURE, NULL);
|
||||
if (ret == KSUCCESS){
|
||||
if (k_hasafs())
|
||||
krb_afslog(NULL, NULL);
|
||||
|
Reference in New Issue
Block a user