(do_v4_fallback): don't use krb_get_pw_in_tkt2 since it might not
exist, and we don't actually care about the key git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11184 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -190,9 +190,9 @@ do_v4_fallback (krb5_context context,
|
|||||||
KRB_TICKET_GRANTING_TICKET, princ.realm,
|
KRB_TICKET_GRANTING_TICKET, princ.realm,
|
||||||
lifetime, key_to_key, NULL, key);
|
lifetime, key_to_key, NULL, key);
|
||||||
} else {
|
} else {
|
||||||
ret = krb_get_pw_in_tkt2(princ.name, princ.instance, princ.realm,
|
ret = krb_get_pw_in_tkt(princ.name, princ.instance, princ.realm,
|
||||||
KRB_TICKET_GRANTING_TICKET, princ.realm,
|
KRB_TICKET_GRANTING_TICKET, princ.realm,
|
||||||
lifetime, passwd, &key);
|
lifetime, passwd);
|
||||||
}
|
}
|
||||||
memset (key, 0, sizeof(key));
|
memset (key, 0, sizeof(key));
|
||||||
if (ret) {
|
if (ret) {
|
||||||
|
Reference in New Issue
Block a user