• Contact Us
  • Home
  • Installation

Customizing solserver for OpenLDAP 2.4

Learn how to configure Solserver specifically for use with OpenLDAP 2.4, allowing for seamless integration and optimized performance between the two platforms.

Written by Maryanne Normann

Updated at July 27th, 2024

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

Table of Contents

Modifying the Solserver Script for Your Environment Convert slapd.conf to cn=config (slapd.d)

Date: 11-24-2015 Updated 5/15/2024 E. Resendiz

Modifying the Solserver Script for Your Environment

1. If slapd is not in /opt/symas/etc/openldap configure /opt/symas/etc/openldap/symas-openldap.conf to point to slapd.conf.   
2. Comment out the default EXTRA_SLAPD_ARGS line
3. Add the following:

EXTRA_SLAPD_ARGS=" -f /<path to>/slapd.conf" 

4. Configure /etc/init.d/solserver script to report location of slapd.conf file when solserver service starts 5. Change (the top line) from:

#! /bin/sh  

to:

#! /bin/sh -x 

Convert slapd.conf to cn=config (slapd.d)

1. Edit 'slapd.conf'

vi /opt/symas/etc/openldap/slapd.conf 

2. Add the following lines before the first database definition.

database config 
rootdn "cn=admin,cn=config" 
rootpw config 

3. Save and exit the editor

:wq 

4. Stop 'slapd' (solserver)

sudo service solserver stop 

5. Make slapd.d directory

mkdir /etc/openldap/slapd.d 

6. Convert slapd.conf to slapd.d

slaptest -f /etc/openldap/slapd.conf -F /etc/openldap/slapd.d 

7. Update ownership of the slapd.d directory

chown -R ldap.ldap /etc/openldap/slapd.d 

8. Rename slapd.conf file

mv /etc/openldap/slapd.conf /etc/openldap/slapd.conf.converted 

9. Update slapd URIs and Ssers

slapd -h ldap:/// ldaps:/// -u ldap 

or:

slapd -h ldap:/// ldaps:/// -u ldap -d -1 to debug 

10. Start the /opt/symas/etc/solserver service

sudo service solserver start -F /opt/symas/etc/openldap/slapd.d
Copyright © 2020-2024 Symas Corporation. All rights reserved.
2.4 solserver

Was this article helpful?

Yes
No
Give feedback about this article

Related Articles

  • Installing Apache Directory Studio
  • Add EPEL Repository to CentOS
  • Enable/Disable GUI from Server Install
  • Installing Symas OpenLDAP from RPM Packages Locally
  • 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