问题:
如何使用 ldapjs 搜索与用户关联的操作属性?
我知道在使用 ldapsearch 时,我可以使用“+”参数获取操作属性。对ldapjs的客户端搜索功能比较熟悉,但是不知道怎么用这个功能搜索操作属性。
是否可以使用 ldapjs 搜索操作属性?
如果这不是一种搜索它们的方法,是否有其他 javascript ldap 库的建议?
背景
我有一个正在运行的 openldap 服务器,其目录布局如下:
-> Root stuff
-> dc=example,dc=com
-> cn=Manager (The olcRootDN)
-> ou=User
-> *Several entries with objectClasses {posixAccount, shadowAccount, inetOrgPerson}*
-> ou=Policies
-> *pwdPolicy with some default password policies