Small sample applications to talk to an Active Directory server via LDAP