This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
установка_и_настройка_openldap [2022/05/17 13:14] val |
установка_и_настройка_openldap [2025/05/16 11:37] (current) val [Debian/Ubuntu] |
||
|---|---|---|---|
| Line 7: | Line 7: | ||
| <code> | <code> | ||
| - | root@server:~# apt install slapd ldap-utils | + | server# apt install slapd ldap-utils |
| Administrative password: secret | Administrative password: secret | ||
| - | root@server:~# ldapsearch -x -b "dc=corpX,dc=un" | + | server# ldapsearch -x -b "dc=corpX,dc=un" |
| </code> | </code> | ||
| Line 17: | Line 17: | ||
| * [[https://serverfault.com/questions/63916/how-to-disable-anonymous-access-on-ldap|How to disable anonymous access on LDAP]] | * [[https://serverfault.com/questions/63916/how-to-disable-anonymous-access-on-ldap|How to disable anonymous access on LDAP]] | ||
| + | |||
| + | <code> | ||
| + | # ldapsearch -x -b"dc=corpX,dc=un" -H ldap://server -D "cn=admin,dc=corpX,dc=un" -w secret | ||
| + | </code> | ||
| ===== Включение TLS ===== | ===== Включение TLS ===== | ||