in reply to Linux + Active Directory + Authentication

LDAP will work for this task. You need to be aware that Active Directory uses cn rather than uid for building the dn. And although the following code nastily fails to use any sort of TLS, it should be a starting point...

use Net::LDAP; $ldap = Net::LDAP->new( 'ldap.bigfoot.com' ) or die "$@"; $mesg = $ldap->bind( "cn=$uid,$baseDN", password => "$pwd" ); $mesg->code && die $mesg->error;

Remember, when you stare long into the abyss, you could have been home eating ice cream.