LDAP Server Configuration
Updated 7 December 2019
LDAP (Lightweight Directory Access Protocol) is a network protocol to access the directory service. LDAP is a rather simple protocol using TCP/IP and allowing for 'bind', 'search' and 'compare' operations, as well as for adding, modifying or removing entries. A LDAP server usually listens to incoming connections on port 389 using the TCP or UDP protocol. For SSL encapsulated LDAP sessions, port 636 is generally used.
Calculate Directory Server uses OpenLDAP as an LDAP server. To configure a LDAP server, Calculate Utilities from sys-apps/calculate-server are used.
To configure the LDAP server, run:
* WARNING: Running this program will modify the configuration files and the LDAP database. If you wish to continue, enter 'yes', otherwise enter 'no': yes * LDAP database cleared ... [ok] * ldif file added ... [ok] * LDAP service configured ... [ok]
The utility will configure the LDAP server, start it and add to autostart.
Note that the LDAP database will be overwritten while running the command. If you have been working with the LDAP server, back up your data.
Passwords to access LDAP of all services will be saved to .