| 1 |
- Search a ldap directory returning the mail attribute in ldif format |
| 2 |
|
| 3 |
ldapsearch -ldapUrl ldap://directory.vt.edu -baseDn ou=People,dc=vt,dc=edu \ |
| 4 |
-query uupid=dfisher mail |
| 5 |
|
| 6 |
- Search a ldap directory returning all attributes in dsmlv1 format |
| 7 |
|
| 8 |
ldapsearch -ldapUrl ldap://directory.vt.edu -baseDn ou=People,dc=vt,dc=edu \ |
| 9 |
-dsmlv1 -query uupid=dfisher |
| 10 |
|
| 11 |
- Search a ldap directory as an authenticated user returning all attributes in dsmlv2 format |
| 12 |
|
| 13 |
ldapsearch -ldapUrl ldap://directory.vt.edu -baseDn ou=People,dc=vt,dc=edu \ |
| 14 |
-bindDn uid=818037,ou=People,dc=vt,dc=edu -tls true \ |
| 15 |
-dsmlv2 -query uupid=dfisher |
| 16 |
|
| 17 |
- Display all the command line options available |
| 18 |
|
| 19 |
ldapsearch -help |