Ldapsearch

De Linuxmemo.

(Différences entre les versions)
Ligne 5 : Ligne 5 :
ldapsearch [options] "filtre" attrs
ldapsearch [options] "filtre" attrs
-
  ldapsearch -x -W filtre
+
  ldapsearch -x -W -LLL filtre
=== Configuration ===
=== Configuration ===

Version du 10 avril 2012 à 12:47


Client d'annuaire LDAP

ldapsearch [options] "filtre" attrs

ldapsearch -x -W -LLL 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
Outils personnels