Am Thu, Dec 18, 2025 at 05:31:12PM +0100 schrieb Frank Bergmann via 
FreeIPA-users:
> On Thu, Dec 18, 2025 at 04:58:00PM +0100, Sumit Bose via FreeIPA-users wrote:
> > > Which C/C++ API/Lib can be used to handle an expired password?
> > > (e.g. providing old and new password and submit them to get a
> > > non-expired account)
> > 
> > Hi,
> > 
> > it is PAM as well, see man pam_chauthtok for details.
> 
> Hmmm... correct me if I'm wrong, but IMHO I need a valid TGT for it.

Hi,

with PAM the configured PAM modules, e.g. SSSD, should take care of
this.  To change a password via Kerberos a TGT is not needed but a
dedicated 'kadmin/changepw' ticket is sufficient. Typically you can
request this ticket even if your Kerberos password is expired.

HTH

bye,
Sumit

> -- 
> _______________________________________________
> FreeIPA-users mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> Fedora Code of Conduct: 
> https://docs.fedoraproject.org/en-US/project/code-of-conduct/
> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
> List Archives: 
> https://lists.fedorahosted.org/archives/list/[email protected]
> Do not reply to spam, report it: 
> https://pagure.io/fedora-infrastructure/new_issue

-- 
_______________________________________________
FreeIPA-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to