FreeIPA: Password Expiry Notification
The current version of FreeIPA still does not provide a native solution to notify users about expiring passwords. This is still a massive problem when users try to login after the weekend or vacation. Therefore, I wrote a small Python based util that may generate email notifications for users. This easy to use script just needs to be adjusted to the IPA server and the credentials.
[Login] user: ipa-api-user password: ipa-api-pw hostname: ipa01.gyptazy.ch [Option] notify_days_remaining: 7 email_from: "FreeIPA Service <email@example.com>" email_body: "Your password is going to expire soon; please change your password"