Auth-ActiveDirectory
view release on metacpan or search on metacpan
lib/Auth/ActiveDirectory.pm view on Meta::CPAN
=cut
our $VERSION = '0.02';
use strict;
use warnings FATAL => 'all';
use Net::LDAP qw[];
use Net::LDAP::Constant qw[LDAP_INVALID_CREDENTIALS];
my $ErrorCodes = {
'525' => { error => 'user not found' },
'52e' => { error => 'invalid credentials' },
'530' => { error => 'not permitted to logon at this time' },
'531' => { error => 'not permitted to logon at this workstation' },
'532' => { error => 'password expired' },
'533' => { error => 'data 533' },
'701' => { error => 'account expired' },
'773' => { error => 'user must reset password' },
'775' => { error => 'user account locked' },
'534' => {
error => 'account disabled',
description => 'The user has not been granted the requested logon type at this machine'
( run in 0.225 second using v1.01-cache-2.11-cpan-4d50c553e7e )