LDAP DSE Search
To perform a DSE Search, set the search filter to Objectclass=*, the search scope to base object, and perform your search. This will return a list of attributes specific to your server. For example:
LDAP1.DN = ""
LDAP1.SearchScope = ssBaseObject
LDAP1.Search "objectClass=*"
After the search is complete (SearchComplete event has fired), you'll be able to retrieve the attributes in the Attr arrays.
For i = 0 To LDAP.AttrCount - 1
debug.print "ATTR: " + ldap.AttrType(i) + " = "
debug.print ldap.AttrValue(i) + vbcrlf
Next
We appreciate your feedback. If you have any questions, comments, or suggestions about this article please contact our support team at support@nsoftware.com.