[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
ldapmodify add olcSyncrepl (okey but not okey)
- To: openldap-technical@openldap.org
- Subject: ldapmodify add olcSyncrepl (okey but not okey)
- From: lejeczek <peljasz@yahoo.co.uk>
- Date: Mon, 19 Nov 2018 14:48:26 +0000
- Content-language: en-US
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1542638909; bh=LVdhFFxy9nCfxuN+I3ZJ8Vf+Mqii5RyzuPZWpNWSrL0=; h=To:From:Subject:Date:From:Subject; b=KAZNdGr+5Rjna1a8yxgFSzON9clz0eisWSIb80D5NSVVQQOKyhYFQI6CecOjyrztLGwxHWFugJWCoiiiEYsTUdyFXQ10RiJLl5ExJnOZoedWKz6y9kCC3m56sJT/OGgtgJCRQAH08CopqnJ5vqvVUb2cNQJ2sapNDu9DzzEiXksHRGFuQYHCNktO8H82fVlMMjbp0nYK0fBaMArrGxi2fOlMcEjWbnuedcyVPcQzhCc4xwV/+r3DWp/rIQvZcqZF3SBcgp1XfIdhnFLQGKes09oRmKrjSKZeLD4tdNgVBvm67fAkbxEzP5eEaUVYF0RziC2iSa9XXgHNOaz6SsOp7Q==
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.3.0
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.
At the time of ldapmodify in logs I see:
Nov 19 14:40:48 rider slapd[90048]: slap_queue_csn: queueing
0x7f22cc111e00 20181119144048.167126Z#000000#005#000000
Nov 19 14:40:48 rider slapd[90048]: slap_graduate_commit_csn: removing
0x7f22cc111e00 20181119144048.167126Z#000000#005#000000
How to get it work?
Many thanks, L.