• Contact Us
  • Home
  • Reference

Chaining Overlay with Keep Alive Function

Written by Maryanne Normann

Updated at July 27th, 2024

  • Quick Start
  • Installation
    Best Practices Configuration Troubleshooting Design Performance Platform
  • Maintenance
    Releases Upgrade
  • Reference
+ More

Set the keepalive setting if the connection to the remote server has timeout issues, e.g. it connects thru a firewall that drops idle connections without sending proper close messages to both endpoints, which is common for a lot of firewalls.

This feature was added back in version 2.4.34 on 03-01-2013.

Modify the slapd.conf file to look like this:

overlay                 chain  
chain-rebind-as-user    FALSE  
chain-return-error      TRUE  
chain-uri               ldap://example.ldap.com  
chain-idassert-bind     bindmethod="simple"  
                        binddn="cn=manager,ou=admin,dc=example,dc=com"  
                        credentials="XXXXX"  
                        mode="self"  
                        flags=non-prescriptive  
                        starttls=yes  
                        tls_cacert="/opt/symas/ssl/ca_roots/1acacert.pem"  
                        tls_reqcert=never  
chain-tls               start  
                        starttls=yes  
                        tls_cacert="/opt/symas/ssl/ca_roots/1acacert.pem"  
                        tls_reqcert=never  
chain-keepalive 120:10:15 

 

Copyright © 2020-2024 Symas Corporation. All rights reserved.
maintain linking

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Configure LDAP Client on Ubuntu
  • Symas Blog RSS Feed
  • Symas on Facebook
  • Symas on Twitter
  • Symas Blog
  • Symas on LinkedIn
  • Symas YouTube Channel

Copyright © 2023, Symas Corporation. All rights reserved. Privacy Statement (updated July 31, 2023)

Phone:

Main Office: +1.650.963.7601
Fax: +1.650.390.6284

Email:

Sales: sales@symas.com
Support: support@symas.com

Office Hours:

8:00 AM - 5:00 PM ET

Office Location:

Symas Corporation
PO Box 391
Grand Junction, CO 81507 USA

Expand