Ldapsearch
De Linuxmemo.
(Différences entre les versions)
Ligne 2 : | Ligne 2 : | ||
Client d'annuaire LDAP | Client d'annuaire LDAP | ||
+ | |||
+ | ldapsearch [options] "filtre" attrs | ||
ldapsearch -x -W filtre | ldapsearch -x -W filtre |
Version du 10 avril 2012 à 11:50
Client d'annuaire LDAP
ldapsearch [options] "filtre" attrs
ldapsearch -x -W filtre
Configuration
Fichiers: /etc/openldap/ldap.conf, .ldaprc
# # LDAP Defaults # # See ldap.conf(5) for details # This file should be world readable but not world writable. #BASE dc=example, dc=com #URI ldap://ldap.example.com ldap://ldap-master.example.com:666 #SIZELIMIT 12 TIMELIMIT 10 #DEREF never TLS_REQCERT allow BASE dc=xxxx,dc=xxxx,dc=fr URI ldap://machine.domain.topdomain:389 BINDDN