An interactive command-line client that performs a search and simple bind
using the asynchronous APIs.
The client prompts for email address and for a password,
and then searches based on the email address,
to bind as the user with the password.
If successful, the client displays the common name from the user's entry.
- host - host name of the directory server
- port - port number of the directory server
- base-dn - base DN for the search, e.g. dc=example,dc=com
All arguments are required.