krb5_get_init_creds_password with empty password and no prompter

Stef Walter stefw at
Mon May 6 10:50:19 EDT 2013

When krb5_get_init_creds_password() is called with an empty password
(non-null, empty string) and NULL prompter, then it returns

This prevents krb5_get_init_creds_password() use of accounts with an
empty password (although that's a corner case). When one provides a
prompter that returns nothing, suddenly things work as expected:

I've tried to fix this in preauth2.c get_as_key() without success. Any
tips on a good way to tackle/patch this?

Thanks in advance,


More information about the krbdev mailing list