2 Replies Latest reply: May 16, 2014 8:01 AM by RaiderOfTheLostSparc RSS

    Configuring OpenLDAP Bundled with Solaris 11 to run on both ports 389 & 636




      I'm trying to configure the OpenLDAP that comes built in with Solaris 11.1 and am having trouble getting it to run both securely and non-securely at the same time. I've setup Oracle's Directory Server to run on both 389 and 636 so I would think you could do the same here.


      I've currently got it to run on port 636 by adding the following to /etc/openldap/slapd.conf

      TLSCertificateFile /etc/openldap/ssl/test1.crt

      TLSCertificateKeyFile /etc/openldap/ssl/test1.key


      And by editing /lib/svc/method/ldap-olslapd and changing the following line as follows:

      typeset -r SLAPD="/usr/lib/slapd -u ${LDAPUSR} -g ${LDAPGRP} -f ${CONF_FILE}"


      typeset -r SLAPD="/usr/lib/slapd -u ${LDAPUSR} -g ${LDAPGRP} -f ${CONF_FILE} -h ldaps:///"


      I've tried editing ldap-olslapd a few different ways but either port 389 doesn't open up or the service goes into maintenance. Any help would be appreciated.