| 1 |
- Authenticate a user and return their ldap entry |
| 2 |
|
| 3 |
ldapauth -ldapUrl ldap://directory.vt.edu -baseDn ou=People,dc=vt,dc=edu \ |
| 4 |
-tls true -userField uupid |
| 5 |
|
| 6 |
- Authenticate and authorize a user on their accountState attribute |
| 7 |
|
| 8 |
ldapauth -ldapUrl ldap://directory.vt.edu -baseDn ou=People,dc=vt,dc=edu \ |
| 9 |
-tls true -userField uupid -authorizationFilter accountState=active |
| 10 |
|
| 11 |
- Authenticate a user and return their mail attribute in dsmlv1 format |
| 12 |
|
| 13 |
ldapauth -ldapUrl ldap://directory.vt.edu -baseDn ou=People,dc=vt,dc=edu \ |
| 14 |
-tls true -userField uupid -dsmlv1 mail |
| 15 |
|
| 16 |
- Display all the command line options available |
| 17 |
|
| 18 |
ldapauth -help |