Hi; What is the Perl equivalent of "net user username \domain" if I am on Linux or Mac?
None of our Linux or Mac machines are a member of the specific domain in question. Do have to obtain the name of the AD/LDAP server and obtain some kind of credentials for me to inquire about a specific user? I already have a Perl script written that works on Cygwin that goes through the output of p4 users one by one, checking them against the output of "net user user_name /domain" to see if they are still employees. If they aren't, then I can remove their Perforce account. So, I assume that I will need to do something with LDAP, and need IT to give me meaningful information to interact with the LDAP server and permission to interact with it. I assume also that if they do not share this information and/or are unwilling to provide access to interact with LDAP via a script, that I have no choice but to use Cygwin and "net user user_name /domain" to verify that the user of the Perforce account is still an employee or not. Please advise. Thanks, Ken Wolcott -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/