2017-02-03 6 views
0

私のin-memory-ldap-serverで動作する動的memberOf属性を取得しようとしています。 UnboundIDの標準版を使用しています。それはデフォルトで有効になっている場合 は、私は次の.ldif-のファイルで試してみました:UnboundID LDAP memberof-overlay

base.ldif:

dn: dc=example,dc=com 
objectclass: domain 
dc: example 

dn: ou=Group,dc=example,dc=com 
objectclass: organizationalUnit 
ou: Group 

dn: ou=People,dc=example,dc=com 
objectclass: organizationalUnit 
ou: People 

dn: uid=test1,ou=People,dc=example,dc=com 
objectclass: account 
uid: test1 

#Group 1.1 
dn: cn=testUndergroup,ou=Group,dc=example,dc=com 
objectclass: groupOfNames 
cn: testUndergroup  

#Group 1 
dn: cn=testgroup,ou=Group,dc=example,dc=com 
objectclass: groupOfNames 
cn: testgroup  

modify.ldif:

dn: cn=testgroup,ou=Group,dc=example,dc=com 
changetype: modify 
add: member 
member: uid=test1,ou=People,dc=example,dc=com 

私はこのLDAP検索を行うとき、 : さがす:

ldapsearch --hostname localhost --port 3268 --baseDN dc=example,dc=com "(uid=test1)" memberOf 

私は答えでのmemberOfを得るいけません。

# Connected to localhost:3268 
dn: uid=test1,ou=People,dc=example,dc=com 

# The search operation was processed successfully. 
# Entries returned: 1 
# References returned: 0 

# Disconnected from the server 

したがって、デフォルトでは有効になっていません。

UnboundIDのmemberOf属性を有効にするにはどうすればよいですか?

ところで:それらが記載されているように私は、LDAP SDKに同梱され、メモリ内のディレクトリサーバがグループをサポートしていませんhere

答えて

0

動的グループを使用することはできません。コミュニティポータルで参照しているドキュメントは、UnboundID Directory Serverを指します。これは商用製品であり、メモリ内のディレクトリサーバーとは異なります。無料の試用版をメインのWebサイト(https://www.unboundid.comまたはhttps://www.pingidentity.com)からUnboundID Directory Serverにダウンロードすることができます。私はこれが役立つことを願っています