lejeczek wrote: > hi everyone > > I'm must be doing something trivially wrong and am hoping someone could help. > > I'm trying to add second replica: > > $ ldapmodify -vv -h rider.my.dom:1389 -D "cn=admin,cn=config" -w my.Biotec13 > -x > ldap_initialize( ldap://rider.my.dom:1389 ) > dn: olcDatabase={1}bdb,cn=config > changetype: modify > add: olcSyncrepl: rid=002 provider=ldap://swir.my.dom:1389 bindmethod=simple > timeout=0 network-timeout=0 binddn="uid=replicator,ou=people,dc=my,dc=dom" > credentials="lejek9090" keepalive=0:0:0 starttls=no filter="(objectclass=*)" > searchbase="dc=my,dc=dom" scope=sub attrs="*,+" schemachecking=off > type=refreshOnly > interval=00:00:10:00 retry="5 5 300 +" > > exit code of the above to shell is 0 yet next ldapsearch finds no such new > entry exists.
Your LDIF isn't valid. You should re-read the ldif(5) manpage. It should use add: <attribute> <attribute>: <value> ... -- -- Howard Chu CTO, Symas Corp. http://www.symas.com Director, Highland Sun http://highlandsun.com/hyc/ Chief Architect, OpenLDAP http://www.openldap.org/project/
