[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Google
  Web www.spinics.net

Change kerberos password



Hello,

im using pam_krb5_migrate module, and id like to add some new functionality to it. Its supposed to create a kerberos principal when the user logs in the system, using the same credentials. I want it to check if password is the same, if the principal already exists, and if it yes, update the password to the new one. The module gets the authentication token with this, and stores password in the variable pass.

pam_get_item(pamh, PAM_AUTHTOK, (const void **)&pass);

what function(s) can i use to change kerberos password using this information?

Thanks in advance.
_______________________________________________
Pam-list mailing list
Pam-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/pam-list

[Fedora Users]     [Kernel]     [Red Hat Install]     [Linux for the blind]     [Gimp]

Add to Google Powered by Linux