[GH-ISSUE #929] [BUG] Authelia example has deprecated keys #339

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

Originally created by @seanlongnyc on GitHub (Jul 10, 2024).
Original GitHub issue: https://github.com/lldap/lldap/issues/929

Describe the bug
Configuration keys deprecated in 4.38.0 of Authelia generate noise in logging. Currenly these settings are auto-mapped to new value but expected to break in 5.0.0

Keys to change:

old name new name
authentication_backend.ldap.group_name_attribute authentication_backend.ldap.attributes.group_name
authentication_backend.ldap.username_attribute authentication_backend.ldap.attributes.username
authentication_backend.ldap.url authentication_backend.ldap.address
authentication_backend.ldap.display_name_attribute authentication_backend.ldap.attributes.display_name

To Reproduce
Steps to reproduce the behavior:

  1. Use the provided Authelia example when starting Authelia
  2. Check logging

Expected behavior
A clear and concise description of what you expected to happen.

Logs
msg="Configuration: configuration key '[OLD_KEY_NAME]' is deprecated in 4.38.0 and has been replaced by '[NEW_KEY]': you are not required to make any changes as this has been automatically mapped for you, but to stop this warning being logged you will need to adjust your configuration, and this configuration key and auto-mapping is likely to be removed in 5.0.0"

Originally created by @seanlongnyc on GitHub (Jul 10, 2024). Original GitHub issue: https://github.com/lldap/lldap/issues/929 **Describe the bug** Configuration keys deprecated in 4.38.0 of Authelia generate noise in logging. Currenly these settings are auto-mapped to new value but expected to break in 5.0.0 Keys to change: | old name | new name | | --- | --- | | authentication_backend.ldap.group_name_attribute | authentication_backend.ldap.attributes.group_name | | authentication_backend.ldap.username_attribute | authentication_backend.ldap.attributes.username | | authentication_backend.ldap.url | authentication_backend.ldap.address | | authentication_backend.ldap.display_name_attribute | authentication_backend.ldap.attributes.display_name | **To Reproduce** Steps to reproduce the behavior: 1. Use the provided Authelia example when starting Authelia 2. Check logging **Expected behavior** A clear and concise description of what you expected to happen. **Logs** `msg="Configuration: configuration key '[OLD_KEY_NAME]' is deprecated in 4.38.0 and has been replaced by '[NEW_KEY]': you are not required to make any changes as this has been automatically mapped for you, but to stop this warning being logged you will need to adjust your configuration, and this configuration key and auto-mapping is likely to be removed in 5.0.0"`
kerem 2026-02-27 08:16:45 +03:00
Author
Owner

@nitnelave commented on GitHub (Jul 10, 2024):

Thanks! Could you make a PR to update the example?

<!-- gh-comment-id:2221221116 --> @nitnelave commented on GitHub (Jul 10, 2024): Thanks! Could you make a PR to update the example?
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#339
No description provided.