【发布时间】:2020-05-29 22:03:50
【问题描述】:
如何在 Linux 中更改打开的 ldap 默认端口(389)。 我们现在使用默认端口 389 需要将端口更改为新端口。我们该怎么做。
database mdb
maxsize 1073741824
suffix "dc=example,dc=com"
rootdn "cn=Manager,dc=example,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoid. See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.
rootpw secret
# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory /usr/local/var/openldap-data
# Indices to maintain
index objectClass eq
【问题讨论】: