LDAP-Replikation

LDAP-Replikation

Ich versuche, LDAP Sync Replication zu verwenden. Ich muss meinem Replikatorkonto Rechte erteilen. Dies ist mein 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

Ich folge den Schritten, kann aber nicht erkennen, was ich falsch mache.

wenn ich das mache:

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

Das Ergebnis ist:

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

verwandte Informationen