Author Posts

January 15, 2016 at 3:57 pm

Hello. I am using powershell and DirectoryServices.DirectorySearcher ldap code to query a non-AD LDAP server. I can retrieve all attributes except operational attributes such as createtimestamp and modifytimestamp.

Interestingly, if I switch to using the LDAPConnection class in the Protocols namespace, and specify "+" in the attribute list, I can retrieve operational attributes, but not any other attributes.

Does anyone have suggestions on how I can retrieve these attributes?


January 16, 2016 at 6:22 am

The Protocols namespace probably provides the lowest level access into LDAP from .NET so you're best sticking with that