Try running the command with single quotes around the port options, i.e. -h 'ldap:/// ldaps:///'


From: openldap-technical-bounces+worganc=nortel.com@openldap.org [mailto:openldap-technical-bounces+worganc=nortel.com@openldap.org] On Behalf Of Bryan Payne
Sent: Wednesday, February 25, 2009 10:13 AM
To: openldap-technical@openldap.org
Subject: Running both ldap and ldaps simultaneously

I’m trying to run both ldap:// and ldaps:// at the same time. Reason being, I can’t get phpldapadmin to use ldaps. If I execute the command: /usr/local/openldap/libexec/slapd -u ldap -h ldap:/// ldaps:///, it just listens on 389. If I run, /usr/local/openldap/libexec/slapd -u ldap -h ldaps:/// ldap:///, it just listens on 636. How can I get it to listen on both ports?