LDAP 복제

LDAP 복제

LDAP 동기화 복제를 사용하려고 합니다. 내 계정 복제자에게 권한을 부여해야 합니다. 이것은 내 ldif입니다.

dn: olcDatabase={1}hdb,cn=config
replace: olcAccess
olcAccess: {0}to attrs = userPassword,shadowLastChange by
 self write by anonymous auth by
 dn="cn=admin,dc=nfsseixas,dc=br" write by
 dn="cn=replicador,dc=nfsseixas,dc=br" read by * none
-
add: olcAccess
olcAccess: {1}to dn.base="" by * read
-
add: olcAccess
olcAccess: {2}to * by self write by dn="cn=admin,dc=nfsseixas,dc=br" write by * read

단계를 따르고 있지만 내가 뭘 잘못하고 있는지 알 수 없습니다!

내가 이것을 할 때 :

ldapmodify -c -Y EXTERNAL -H ldapi:/// -f replica2.ldif

결과는 다음과 같습니다.

ldap_modify: Other (e.g., implementation specific) error (80)
    additional info: <olcAccess> handler exited with 1

관련 정보