Getting the password in a preauth plugin

Yair Yarom irush at cs.huji.ac.il
Mon Apr 16 09:13:19 EDT 2012


Hi all,

In a preauth plugin, in the client process function, I want to get the
user's password if available. I want the password itself, and if the
user hasn't entered it yet don't prompt for it (I'll call the prompter
later for that purpose). 

Is there a correct way to get it? My current solution is to check if
((krb5_data**)rock->gak_data)[0] is not empty, but this doesn't seem the
right way.


Thanks,
    Yair.


More information about the krbdev mailing list