동적 인 memberOf 속성을 내 메모리 -ldap-server에서 작동 시키려고합니다. 언 바운드 ID의 표준 버전을 사용하고 있습니다. 이 기본적으로 활성화되어있는 경우 나는 다음과 같은 .ldif - 파일 시도 :언 바운드 ID 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 검색을 수행 할 때 : seach :
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 속성을 활성화하려면 어떻게해야합니까?
은 BTW : 그들은 그룹을 지원하지 않는 LDAP의 SDK와 함께 제공 here