[Date Prev][Date Next] [Chronological] [Thread] [Top]

OpenLDAP end Replication of olcAccess



hello community,


i was try to replication my LDAP to a Backup-System.

The Replication of my dc=example,dc=com was sucessful.

Now i was tring to do also with the olcAccess of olcDatabase={1}hdb,cn=config.

Here are my Configuration:




Configuration on Master:

dn: olcOverlay=syncprov,olcDatabase={0}config,cn=config
changetype: add
objectClass: olcOverlayConfig
objectClass: olcSyncProvConfig
olcOverlay: syncprov

———
dn: olcDatabase={1}hdb,cn=config
changetype: modify
replace: olcAccess
olcAccess: {0}to attrs=a,b,c by dn.base=„myadmin" write
olcAccess: {1}to attrs=a,b,c by dn.base=„myadmin" read
olcAccess: {2}to attrs=a,b,c by dn.base=„myadmin“ none

———



On my Slave i was add following ldif:

dn: olcDatabase={0}config,cn=config
changetype: modify
add: olcSyncRepl
olcSyncrepl: rid=221 provider=ldaps://myldap.example.com:636 bindmethod=s
 imple timeout=0 network-timeout=0 binddn="cn=admin,cn=config" credentials="se
 cret" keepalive=0:0:0 starttls=no filter="(olcDatabase=*)" searchbase="cn=config"
  scope=sub attrs="olcDbIndex,olcAccess,olcLimits" type=refreshAndPersist
  interval=00:00:00:10 retry="10 +"
-
add: olcUpdateRef
olcUpdateRef: ldaps://myldap.example.com:636


All LDIFs was ok and correct inserted. But Replication not work.

Anyone can Helf where my issue is?


Oliver