in reply to what is a pure perl equivalent for "net user username /domain"?
Net::LDAP is the standard Perl way to access an LDAP, even ActiveDirectoy.
The whole collection of modules show themselves at ldap.perl.org
The collection contains also some specific tool to works with ActiveDirectory's peculiarities, but for basics tasks you just need a plain approach as for evey LDAP.
As marto suggested you can profit also of Net::LDAP::FAQ Net::LDAP::Examples
L*
|
|---|