Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • lemonldap-ng lemonldap-ng
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 331
    • Issues 331
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • LemonLDAP NG
  • lemonldap-nglemonldap-ng
  • Issues
  • #2467

Closed
Open
Created Feb 18, 2021 by Nicolas CANIVET@nicolas65536

Expired password form does not show up on LDAP expired password

Concerned version

Version: %2.0.11

Platform: CentOS 8 / Apache 2.4.37 LDAP Directory : FreeIPA v4.8.7

Summary

When an user logs in with expired LDAP password, the portal does not show password renewal form. The LDAP attribute use by FreeIPA for considering an account as expired is "krbPasswordExpiration".

password_settings

Logs

See attached log auth_with_expired_pass.log

Possible fixes

Evaluate expired status from krbPasswordExpiration attribute

I read about issue #2377 (closed), I can't say if it's linked or not.

The "_whatToTrace" macro has the value

$_auth eq 'SAML' ? lc($_user.'@'.$_idpConfKey) : $_auth eq 'OpenIDConnect' ? lc($_user.'@'.$_oidc_OP) : lc($_user)

Assignee
Assign to
Time tracking