A
A
acwartz2021-02-09 16:56:20
LDAP
acwartz, 2021-02-09 16:56:20

Is it possible to query the list of user attributes from Active Directory via LDAP?

Hey!

Actually there is a specific request:

LDAP://CN=First Middle Last,OU=Stuff,DC=users,DC=company,DC=com>;(&(objectClass=user));name,cn,ADsPath;Base


in general, there are no problems with it, I will receive in response:
ADsPath - a mirror of what I ask.
cn - full name, in general common name
name - Name

How to request the entire list of attributes that an object has?
In addition to cn, name and others, there is darkness and more. How to get the entire list, according to the SELECT * FROM principle?
If I just specify an empty string instead of the list of requested fields, the ADsPath of the requested object will be returned to me.

About a variant "Look in AD - I know". I can even read them through ADSI interfaces, but it's really hardcore at all.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question