svn rev #18764: trunk/src/lib/krb5/krb/

jaltman@MIT.EDU jaltman at MIT.EDU
Mon Nov 6 16:55:13 EST 2006


Commit By: jaltman
Log Message: 
ticket: new
tags: pullup
subject: krb5_get_init_creds_password does not consistently prompt for password changing

 	krb5_get_init_creds_password() previously did not consistently
	handle KRB5KDC_ERR_KEY_EXP errors.  If there is a "master_kdc" 
 	entry for the realm and the KDC is reachable, then the function 
	will prompt the user for a password change.  Otherwise, it will
	return the error code to the caller.  If the caller is a ticket 
	manager, it will prompt the user for a password change with a
	dialog that is different from the one generated by the prompter
	function passed to krb5_get_init_creds_password.

	With this change krb5_get_init_creds_password() will always 
	prompt the user if it would return KRB5KDC_ERR_KEY_EXP unless
	the function is compiled with USE_LOGIN_LIBRARY.  (KFM)




Changed Files:
U   trunk/src/lib/krb5/krb/gic_pwd.c



More information about the cvs-krb5 mailing list