node-ldapjs icon indicating copy to clipboard operation
node-ldapjs copied to clipboard

how get get constructed attributes in search?

Open preussmann opened this issue 4 years ago • 5 comments

I'm trying to find out, how to get a constructed attribute in search. f.e.: msDS-PSOApplied

preussmann avatar Jan 14 '21 12:01 preussmann

I don't know what you're asking. What is a "constructed attribute"?

jsumners avatar Jan 14 '21 13:01 jsumners

https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-adts/a3aff238-5f0e-4eec-8598-0a59c30ecd56 https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-ada2/a182b5e8-8141-43e4-9c17-67fade1984a7

http://www.selfadsi.org/deep-inside/attribute-constructed.htm

preussmann avatar Jan 14 '21 14:01 preussmann

Are they part of the LDAP specification?

jsumners avatar Jan 14 '21 14:01 jsumners

yes

preussmann avatar Jan 14 '21 14:01 preussmann

According to https://web.archive.org/web/20200925170437/https://ldapwiki.com/wiki/Constructed%20Attribute they would be considered "Virtual Attributes" in a standard LDAP server. Regardless, it sounds like a server implementation detail. This library parses the attributes returned by the search query. If the server isn't returning such attributes in the result, how can the library read them?

jsumners avatar Jan 14 '21 15:01 jsumners

👋

On February 22, 2023, we released version 3 of this library. As a result, we are closing this issue/pull request.

Please see issue #839 for more information, including how to proceed if you feel this closure is in error.

jsumners avatar Feb 22 '23 19:02 jsumners