PowerShell, LDAP and retrieving operational attributes

This topic contains 1 reply, has 2 voices, and was last updated by Profile photo of Richard Siddaway Richard Siddaway 8 months, 2 weeks ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #33968

    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?

    Thanks

    #33973

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

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.