You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I want to get a custom attribute that I created in Authentik using ldapsearch.
In my case, I created a custom attribute called "corporate_mail" whose value is "user@example.com" (for example).
When I use an ldapsearch query like:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi! I want to get a custom attribute that I created in Authentik using ldapsearch.
In my case, I created a custom attribute called "corporate_mail" whose value is "user@example.com" (for example).
When I use an ldapsearch query like:
ldapsearch -x -H ldap://authentik.example.com -D 'cn=ldapservice,ou=users,DC=ldap,DC=goauthentik,DC=io' -b 'DC=ldap,DC=goauthentik,DC=io' '(&(objectClass=posixAccount)(&(memberOf=cn=mail,ou=groups,dc=ldap,dc=goauthentik,dc=io)(corporate_mail=user@example.com)))' -W
I get the response:
I understand that you can't just get the value of a custom attribute.
How do I modify the Authentik or attribute or query to succeed?
Beta Was this translation helpful? Give feedback.
All reactions