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?
take a look in man 8 slapd:
slapd -h "ldap:/// ldaps:///"
Bryan Payne schrieb:
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?
I knew it'd be something simple I missed. Thanks for the quick response and excuse my ineptitude.
On 2/25/09 9:20 AM, "Oliver Liebel" oliver@itc.li wrote:
take a look in man 8 slapd:
slapd -h "ldap:/// ldaps:///"
Bryan Payne schrieb:
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?
________________________________________________________________ Bryan Payne Systems Administrator | SPEED FC | http://www.speedfc.com
p. 214.258.0129 | e. bpayne@speedfc.com 10300 Sanden Drive, Suite 100 | Dallas Texas 75238 ________________________________________________________________ [cid:3318398610_4505195]
Bryan Payne wrote:
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?
-h takes a list of URIs. Use
slapd -u ldap -h 'ldaps:/// ldap:///'
p.
Ing. Pierangelo Masarati OpenLDAP Core Team
SysNet s.r.l. via Dossi, 8 - 27100 Pavia - ITALIA http://www.sys-net.it ----------------------------------- Office: +39 02 23998309 Mobile: +39 333 4963172 Fax: +39 0382 476497 Email: ando@sys-net.it -----------------------------------
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?
openldap-technical@openldap.org