website/docs: update example ldapsearch commands (#8906)

* Update generic_setup.md

Updated ldapsearch command to no longer use the deprecated -h -p options.

Signed-off-by: Trident101 <44569289+Trident101@users.noreply.github.com>

* Update website/docs/providers/ldap/generic_setup.md

Signed-off-by: Jens L. <jens@beryju.org>

* format

Signed-off-by: Jens Langhammer <jens@goauthentik.io>

---------

Signed-off-by: Trident101 <44569289+Trident101@users.noreply.github.com>
Signed-off-by: Jens L. <jens@beryju.org>
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
Co-authored-by: Jens L <jens@beryju.org>
Co-authored-by: Jens Langhammer <jens@goauthentik.io>
This commit is contained in:
Trident101
2024-03-15 17:49:19 +01:00
committed by GitHub
parent ce0775239d
commit ac1ef5139c

View File

@ -84,8 +84,7 @@ sudo yum install openldap-clients -y # CentOS-based systems
```
ldapsearch \
-x \
-h <LDAP Outpost IP address> \
-p 389 \ # Production should use SSL 636
-H ldap://<LDAP Outpost IP address>:<Port number 389> \ # In production it is recommended to use SSL, which also requires `ldaps://` as the protocol and the SSL port
-D 'cn=ldapservice,ou=users,DC=ldap,DC=goauthentik,DC=io' \
-w '<ldapuserpassword>' \
-b 'DC=ldap,DC=goauthentik,DC=io' \