mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 17:48:25 +01:00
Doc
This commit is contained in:
@@ -1,20 +1,21 @@
|
|||||||
# ldapsearch_sample1.txt
|
# ldapsearch_sample1.txt
|
||||||
# ldapsearch is into package ldap-utils on debian.
|
# ldapsearch is into package ldap-utils on debian.
|
||||||
#
|
#
|
||||||
# Use this sample to search into a ldap
|
# Use this samples to test a ldap_bind or to make a search into a ldap
|
||||||
#
|
#
|
||||||
|
|
||||||
# Anonymous access
|
# Anonymous access
|
||||||
# ldapsearch -h hostname -p 389
|
# ldapsearch -h hostname -p 389
|
||||||
#
|
#
|
||||||
# Login access (using a Bind DN)
|
# Login access (using a Bind DN)
|
||||||
|
# Such access must succeed to use LDAP as login module.
|
||||||
# ldapsearch -h hostname -p 389 -z 0 -D "uid=root,cn=users,dc=ldap,dc=test,dc=local" -w password
|
# ldapsearch -h hostname -p 389 -z 0 -D "uid=root,cn=users,dc=ldap,dc=test,dc=local" -w password
|
||||||
# ldapsearch -H ldap://hostname:389 -z 0 -D "uid=root,cn=users,dc=ldap,dc=test,dc=local" -w password
|
# ldapsearch -H ldap://hostname:389 -z 0 -D "uid=root,cn=users,dc=ldap,dc=test,dc=local" -w password
|
||||||
# ldapsearch -d1 -H ldap://hostname:389 -x -z 0 -D "uid=root,cn=users,dc=ldap,dc=test,dc=local" -w password
|
# ldapsearch -d1 -H ldap://hostname:389 -x -z 0 -D "uid=root,cn=users,dc=ldap,dc=test,dc=local" -w password
|
||||||
# ldapsearch -H ldap://hostname:389 -z 0 -D "uid=root,cn=users,dc=ldap,dc=test,dc=local" -w password
|
# ldapsearch -H ldap://hostname:389 -z 0 -D "uid=root,cn=users,dc=ldap,dc=test,dc=local" -w password
|
||||||
#
|
#
|
||||||
# Login access in SSL (using a Bind DN)
|
# Login access in SSL (using a Bind DN)
|
||||||
# ldapsearch -H ldaps://hostnamme:636 -z 0 -D "uid=root,cn=users,dc=ldap,dc=test,dc=local" -w password -b "cn=users,dc=ldap,dc=test,dc=local
|
# ldapsearch -H ldaps://hostnamme:636 -z 0 -D "uid=root,cn=users,dc=ldap,dc=test,dc=local" -w password -b "cn=users,dc=ldap,dc=test,dc=local"
|
||||||
# If it fails, you may try to use "hostname" that is real name of certificate.
|
# If it fails, you may try to use "hostname" that is real name of certificate.
|
||||||
# You must also check that /etc/ldap/ldap.conf contains the line TLS_CACERT /etc/ssl/certs/ca-certificates.crt
|
# You must also check that /etc/ldap/ldap.conf contains the line TLS_CACERT /etc/ssl/certs/ca-certificates.crt
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user