[GH-ISSUE #1299] [BUG] pwdChangedTime is returned in the wrong format #452

Closed
opened 2026-02-27 08:17:22 +03:00 by kerem · 1 comment
Owner

Originally created by @YotamKorah on GitHub (Sep 21, 2025).
Original GitHub issue: https://github.com/lldap/lldap/issues/1299

Originally assigned to: @Copilot on GitHub.

Describe the bug
When querying for pwdChangedTime, the timestamp is returned in the rfc3339 format instead of the expected and standerdized format of GeneralizedTime.

To Reproduce
I configured LLDAP as a user federation in keycloak as described in the examples in this repo. when going to the credentials page of a user the page crashes and an exception is thrown.
In the logs of the keycloak server (with loglevel set to trace) i found that the value was incorrectly formatted.

Expected behavior
pwdChangedTime should be returned in the GeneralizedTime format

Logs
No relevant logs from lldap, for the keycloak logs, look here

Originally created by @YotamKorah on GitHub (Sep 21, 2025). Original GitHub issue: https://github.com/lldap/lldap/issues/1299 Originally assigned to: @Copilot on GitHub. **Describe the bug** When querying for pwdChangedTime, the timestamp is returned in the rfc3339 format instead of the expected [and standerdized](https://ldapwiki.com/wiki/Wiki.jsp?page=PwdChangedTime) format of GeneralizedTime. **To Reproduce** I configured LLDAP as a user federation in keycloak as described in the examples in this repo. when going to the credentials page of a user the page crashes and an exception is thrown. In the logs of the keycloak server (with loglevel set to trace) i found that the value was incorrectly formatted. **Expected behavior** pwdChangedTime should be returned in the GeneralizedTime format **Logs** No relevant logs from lldap, for the keycloak logs, look [here](https://github.com/keycloak/keycloak/issues/42592)
kerem 2026-02-27 08:17:22 +03:00
  • closed this issue
  • added the
    bug
    label
Author
Owner

@nitnelave commented on GitHub (Sep 21, 2025):

Thanks for the issue! That's indeed a clear-cut bug, let me have a stab at it.

<!-- gh-comment-id:3316306399 --> @nitnelave commented on GitHub (Sep 21, 2025): Thanks for the issue! That's indeed a clear-cut bug, let me have a stab at it.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/lldap-lldap#452
No description provided.