in reply to Perl with Active Directory

For what it's worth, AD is simply an LDAP schema created by Microsoft. So, yes, in order to use AD credentials, you'll probably need to use LDAP and LDAPS (LDAP over an SSL tunnel for security) to accomplish that. You may find this link helpful: LDAP & AD - allow user to reset password.

-Scott