http://www.perlmonks.org?node_id=1024896


in reply to Re: NET::LDAP disable AD user
in thread NET::LDAP disable AD user

my $res = $ldap->modify ( $aduser, replace => { 'userAccountControl'=>514 } );