- test patch for password expiration reporting

This commit is contained in:
Nalin Dahyabhai 2007-07-26 19:06:51 +00:00
parent fbe8865459
commit c7cc1d7d29

13
krb5-1.6.2-key_exp.patch Normal file
View File

@ -0,0 +1,13 @@
Sadique Puthen notes that the warning on the client side seems to be correspond
to the wrong attribute on the KDC....
--- krb5-1.6.2/src/kdc/do_as_req.c 2007-06-25 15:49:06.000000000 -0400
+++ krb5-1.6.2/src/kdc/do_as_req.c 2007-06-25 15:49:08.000000000 -0400
@@ -371,7 +371,7 @@ process_as_req(krb5_kdc_req *request, kr
goto errout;
}
reply_encpart.nonce = request->nonce;
- reply_encpart.key_exp = client.expiration;
+ reply_encpart.key_exp = client.pw_expiration;
reply_encpart.flags = enc_tkt_reply.flags;
reply_encpart.server = ticket_reply.server;