If your web server is windows based, you could use UserCheckPasswd from Win32::AdminMisc
if( Win32::AdminMisc::UserCheckPassword("", $User, $Password)){ print "Password is correct.\n"; }else{ print "Password is not correct.\n"; } If your web server is not windows based, you could use Net::LDAP, attempting a bind with the userid/passwd. -----Original Message----- From: Parsec [mailto:[EMAIL PROTECTED] Sent: Tuesday, September 30, 2003 5:58 PM To: [EMAIL PROTECTED] Subject: Validate user from web form to active directory Hi to all, could somebody send a piece of code to validate an username & passwd from a web form with an active directory server?, only the cgi code is enought. And thanks. _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs