Hello, I'm trying to set up an LDAP Replication on two Ubuntu Server. Now i tried to set up the replication using this guide: https://systemausfall.org/wikis/howto/LDAP-Replikation
By using this Command:
ldapmodify -Y EXTERNAL -H ldapi:///
dn: olcDatabase={1}hdb,cn=config changetype: modify add: olcSyncrepl olcSyncrepl: {0}rid=2 provider=ldap://192.168.XX.YY type=refreshOnly bindmethod=simple binddn="cn=syncagent,dc=EXAMPLE,dc=COM" credentials=PASSWORD interval="00:00:03:00" retry="30 10 300 +" timeout=1 tls_reqcert=never schemachecking=off searchbase="dc=EXAMPLE,dc=COM" <<
*i got this Message:ldapmodify: invalid format (line 5) entry: 'olcDatabase={1}hdb,cn=config*
i have this Data in my slapd file /etc/ldap/slapd.d/cn=config
'cn=module{0}.ldif' 'olcDatabase={0}config.ldif' 'cn=schema' 'olcDatabase={-1}frontend.ldif' 'cn=schema.ldif' 'olcDatabase={1}hdb' 'olcBackend={0}hdb.ldif' 'olcDatabase={1}hdb.ldif' 'olcDatabase={0}config'
Thank you for you help best wishes Ajdar Yüsün
A. Yuesuen wrote:
Hello, I'm trying to set up an LDAP Replication on two Ubuntu Server. Now i tried to set up the replication using this guide: https://systemausfall.org/wikis/howto/LDAP-Replikation
By using this Command:
ldapmodify -Y EXTERNAL -H ldapi:///
dn: olcDatabase={1}hdb,cn=config changetype: modify add: olcSyncrepl olcSyncrepl: {0}rid=2 provider=ldap://192.168.XX.YY type=refreshOnly bindmethod=simple binddn="cn=syncagent,dc=EXAMPLE,dc=COM" credentials=PASSWORD interval="00:00:03:00" retry="30 10 300 +" timeout=1 tls_reqcert=never schemachecking=off searchbase="dc=EXAMPLE,dc=COM" <<
*i got this Message: ldapmodify: invalid format (line 5) entry: 'olcDatabase={1}hdb,cn=config*
Read the ldif(5) manpage and fix the formatting of your input to ldapmodify.
openldap-technical@openldap.org