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

Re: Help



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.

-- 
  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/