[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Running both ldap and ldaps simultaneously



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
-----------------------------------