Ceci est une ancienne révision du document !


ldap

Exemples de requêtes

ldap

ldapsearch -h shuka-a.kara.sea -x -W -b 'ou=special users,dc=iut-tlse3,dc=fr' -D 'cn=admin,dc=iut-tlse3,dc=fr' uid=benjamin.feron
ldapsearch -h shuka-a.kara.sea -x -W -b 'ou=people,dc=iut-tlse3,dc=fr' -D 'uid=benjamin.feron,ou=people,dc=iut-tlse3,dc=fr' uid=benjamin.feron
ldapsearch -x -b "dc=b3f3,dc=net" -H ldap://ldap.befe.lan -D "cn=admin,dc=b3f3,dc=net" -W
ldapsearch -h 193.52.3.126 -x -W -b 'OU=Comptes,DC=iut-tarbes,DC=local' -D 'CN=roldap,OU=Autres,OU=Comptes,DC=iut-tarbes,DC=local' samaccountname=mastertc
ldapsearch -h 193.52.3.126 -x -W -b 'OU=Comptes,DC=iut-tarbes,DC=local' -D 'roldap@iut-tarbes.local' samaccountname=mastertc
ldapsearch -h 10.64.1.11 -x -W -b 'OU=IUT,DC=iut,DC=iut-tlse3,DC=fr' -D 'CN=benjamin.feron,OU=Automatique,OU=Utilisateur,OU=IUT,DC=iut,DC=iut-tlse3,DC=fr' '(&(proxyAddresses=x500*))'

Valeurs sur une ligne

ldapsearch [...] |perl -p00e 's/\r?\n //g'