LDAP unauthorized access

1, a password is provided, at least 8 or more, preferably comprising upper and lowercase letters, numbers, and special characters.
Password policy configuration: https: //blog.csdn.net/u011607971/article/details/86378361
openldap configuration: First generation administrator password.
 slappasswd
 Enter twice to get a password, which is 1234
 {SSHA} 7Wi / 7NzFL / b6y + a7jZsDos5ax3HK0gUZ
 Modify the database configuration file, set the domain name, passwords, etc.
 vim /etc/openldap/slapd.d/cn=config/olcDatabase={2}bdb.ldif
 olcSuffix: dc = xxx, dc = com # Set the main directory of the root domain.
 oclRootDN: cn = admin, dc = xxx, dc = com # This is to set the administrator dn, xxx can be replaced with your own domain name
 # Then the last line of this song profile entry is added to set the administrator password
 olcRootPW: {SSHA} 7Wi / 7NzFL / b6y + a7jZsDos5ax3HK0gUZ2, set firewall policy, the policy may be provided iptables to allow only specified IP access LDAP.

Guess you like

Origin www.cnblogs.com/mrhonest/p/10948657.html