edu.vt.middleware.ldap.auth.AuthenticatorCli.examples Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vt-ldap Show documentation
Show all versions of vt-ldap Show documentation
Library for performing common LDAP operations
- Authenticate a user and return their ldap entry
ldapauth -ldapUrl ldap://directory.vt.edu -baseDn ou=People,dc=vt,dc=edu \
-tls true -userField uupid
- Authenticate and authorize a user on their accountState attribute
ldapauth -ldapUrl ldap://directory.vt.edu -baseDn ou=People,dc=vt,dc=edu \
-tls true -userField uupid -authorizationFilter accountState=active
- Authenticate a user and return their mail attribute in dsmlv1 format
ldapauth -ldapUrl ldap://directory.vt.edu -baseDn ou=People,dc=vt,dc=edu \
-tls true -userField uupid -dsmlv1 mail
- Display all the command line options available
ldapauth -help
© 2015 - 2025 Weber Informatics LLC | Privacy Policy