https://github.com/lldap/lldap logo
J-HILL - How does the user defined attributes w...
# troubleshooting
j
How does the user defined attributes work? I have a python script that is searching a user and while i can pull back the group memberships i do not see the user attributes
a
message has been deleted
n
How are you querying the data? GraphQL or LDAP ?
In LDAP they show up as regular user attributes, but with GraphQL you have to query the list of attributes
j
Well i reverse engineered ldap-cli to figure out it was graphQL however I am still unsure of the search query required for LDAP
n
How are you querying the API? Maybe that would clarify things
With lldap-cli, you have :
Copy code
lldap-cli user attribute list <UID | EMAIL ADDRESS>

lldap-cli user attribute values <UID | EMAIL ADDRESS> <ATTRIBUTE>