2017-02-03 11 views
0

동적 인 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

답변

0

인 - 메모리 디렉토리 서버를 언급처럼 나는 동적 그룹을 사용할 수 없습니다. 커뮤니티 포털에서 참조하는 문서는 UnboundID Directory Server입니다. UnboundID Directory Server는 상용 제품이며 메모리 내장 디렉토리 서버와 구별됩니다. 메인 웹 사이트 (https://www.unboundid.com 또는 https://www.pingidentity.com)를 통해 UnboundID Directory Server에 무료 평가판 다운로드를 요청할 수 있습니다. 이게 도움이 되길 바란다.