mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 00:59:45 -05:00
Minor fixes.
This commit is contained in:
parent
6437785a82
commit
e988e175a6
1 changed files with 2 additions and 2 deletions
|
|
@ -685,7 +685,7 @@ static int chk_kerberos(
|
|||
|
||||
int status;
|
||||
char lrealm[REALM_SZ];
|
||||
char tkt[MaxPathLen];
|
||||
char tkt[MAXHOSTNAMELEN];
|
||||
|
||||
status = krb_get_lrealm(lrealm,1);
|
||||
if (status == KFAILURE) {
|
||||
|
|
@ -697,7 +697,7 @@ static int chk_kerberos(
|
|||
krb_set_tkt_string (tkt);
|
||||
|
||||
status = krb_verify_user( passwd->bv_val, "", lrealm,
|
||||
cred->bv_val, KRB_VERIFY_SECURE, "pop");
|
||||
cred->bv_val, 1, "pop");
|
||||
|
||||
dest_tkt(); /* no point in keeping the tickets */
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue