With a little side of applesauce...

Saturday, January 27, 2007

Debian - slapd and ldaps

The Debian package for slapd defaults to only listen on port 389 (ldap). If you also want slapd to listen on port 636 (ldaps), then modify SLAPD_SERVICES in /etc/default/slapd to look like:

/etc/default/slapd:

# slapd normally serves ldap only on all TCP-ports 389. slapd can also
# service requests on TCP-port 636 (ldaps) and requests via unix
# sockets.
# Example usage:
# SLAPD_SERVICES=”ldap://127.0.0.1:389/ ldaps:/// ldapi:///”
SLAPD_SERVICES=”ldap://127.0.0.1:389/ ldaps:///”

No comments: