Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UserNameAttribute "uid" not existing in objectClass "inetOrgPerson" #5328

Open
Al2Klimov opened this issue Feb 20, 2025 · 0 comments
Open

UserNameAttribute "uid" not existing in objectClass "inetOrgPerson" #5328

Al2Klimov opened this issue Feb 20, 2025 · 0 comments

Comments

@Al2Klimov
Copy link
Member

Describe the bug

When configuring an LDAP user backend in Icinga Web 2, the validation process fails due to the uid attribute not being recognized as part of the inetOrgPerson object class.

To Reproduce

  1. Create a resource exactly as below
  2. Attempt to create an LDAP user backend from it, validate configuration
  3. Failed to successfully validate the configuration: UserNameAttribute "uid" not existing in objectClass "inetOrgPerson"
  4. Add LDAP Filter (uid=*), validate configuration
  5. The configuration has been successfully validated. (...) 14 users found in backend

Resource

[forumsys]
type = "ldap"
hostname = "ldap.forumsys.com"
port = "389"
encryption = "none"
root_dn = "dc=example,dc=com"
bind_dn = "cn=read-only-admin,dc=example,dc=com"
bind_pw = "password"
timeout = "5"

Expected behavior

Icinga Web auto-adds (LDAP User Name Attribute=*) to filter.

Your Environment

  • Icinga Web 2 version and modules (System - About): 2.12.2 7f9217b
  • Web browser used: Safari 18.3 (19620.2.4.111.8, 19620)
  • PHP version used (php --version): PHP 7.4.33 (cli) (built: Dec 7 2024 22:44:42) ( NTS )
  • Server operating system and version: Debian GNU/Linux 11 (bullseye)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant