How to set an operating system password to a principal

Matt Crawford crawdad at fnal.gov
Fri Dec 26 14:12:38 EST 2003


On Dec 26, 2003, at 11:54 AM, Gerd Pokorra wrote:
>       Hello!
>   I have a string, which holds the encrypted password from a user like
>   it is stored by Linux in the file /etc/shadow. I think the password
>   is encrypted with MD5.
>   I created a corresponding principal. Which fields do I have to set 
> in the
>   structure krb5_principal so that the principal has the same password 
> like
>   the corresponding user-entry from the operating system?

It cannot be done.  If you do a bit of reading and find out why the 
word "encrypted" is not correct in what you wrote, you'll see why this 
cannot be done.



More information about the krbdev mailing list