|Work in progress|
This site is in the process of being reviewed and updated.
|1.4.1 Configuration of ApacheDS with Spring||1.4. Basic configuration tasks||1.4.3 Changing the admin password|
This section describes how to change to port for the LDAP protocol.
By default the LDAP server listens on port 10389 (unencrypted or StartTLS) and 10636 (SSL). It is quite common to run LDAP on 389, which is the well-known port for this protocol. Of course other options are imaginable as well. Changing the LDAP port is a good example for adjusting the existing Spring configuration as introduced in the last section.
Just pick the "ldapServer"-bean from the server.xml file
and change the values of port to your needs. You have to restart the server afterwards in order to take this change effect.
|Due to traditional Unix security restrictions, ports less than 1024 were "trusted". Thus on a Unix-System, a non-root process must listen on a port greater than 1023.|