Hi, I unplugged network cable of provider,added new users but it never synchronizes. with the consumer.Consumer never sends the keepalive signals
I am using 2.4.39 version of Openldap on windows machine
this is my consumer setting
olcSyncrepl: {0}rid=002 provider=ldap://ipaddress:389 bindmethod=sasl timeou t=0 network-timeout=0 saslmech=external keepalive=1:1:10 starttls=critical tl s_cert="CN=Consumer3, O=CRAP" tls_cacert="CN=TestCA, O=CRAP" tls_reqcert=demand tls_cipher_suite=HIGH:MEDIUM:-SSLv2 filter="(objectclass=*)" searchbase="dc= crap,dc=com" scope=sub attrs="*,+" schemachecking=off type=refreshAndPersis t retry="60 +"
if I make fresh setup of consumer & provider,it works & everything gets replicated properly.
In the earlier version of openldap it was based on system setting like I used to get keepalive every 2 hours. What is the minimum value to be set for keepalive parameter in syncrepl? Can you please tell me do I need to make any changes on consumer side or provider ?
--On Thursday, August 28, 2014 11:09 AM +0530 pramod kulkarni pammu.kulkarni@gmail.com wrote:
Hi, I unplugged network cable of provider,added new users but it never synchronizes. with the consumer.Consumer never sends the keepalive signals
I am using 2.4.39 version of Openldap on windows machine
Can you please tell me do I need to make any changes on consumer side or provider ?
The "keepalive" settings only work on OSes that support them. Windows is not one of those OSes. If you wish to fix the "problem", I suggest uninstalling windows and installing linux.
From ldap.h:
/* * OpenLDAP per connection tcp-keepalive settings * (Linux only, ignored where unsupported) */
--Quanah
--
Quanah Gibson-Mount Server Architect Zimbra, Inc. -------------------- Zimbra :: the leader in open source messaging and collaboration
Quanah Gibson-Mount quanah@zimbra.com schrieb am 28.08.2014 um 22:03 in
Nachricht <1985DA90BB30118BF1B7A8A5@[192.168.1.2]>:
--On Thursday, August 28, 2014 11:09 AM +0530 pramod kulkarni pammu.kulkarni@gmail.com wrote:
Hi, I unplugged network cable of provider,added new users but it never synchronizes. with the consumer.Consumer never sends the keepalive signals
I am using 2.4.39 version of Openldap on windows machine
Can you please tell me do I need to make any changes on consumer side or provider ?
The "keepalive" settings only work on OSes that support them. Windows is not one of those OSes. If you wish to fix the "problem", I suggest uninstalling windows and installing linux.
From ldap.h:
/*
- OpenLDAP per connection tcp-keepalive settings
- (Linux only, ignored where unsupported)
*/
Why not log a warning that the option will be ignored?
--Quanah
--
Quanah Gibson-Mount Server Architect Zimbra, Inc.
Zimbra :: the leader in open source messaging and collaboration
openldap-technical@openldap.org