rodrigo.pace.barros has asked for the wisdom of the Perl Monks concerning the following question:
The output is a quite complicated and i canīt find which user is active and witch is not. Can you help me with your knowledge? Or a simple way to do this? Thanks all!!! Monks rules.. Rodrigomy $LDAPSEARCH="/usr/bin/ldapsearch"; my $IP_SERVIDOR_AD="xxx.xxx.xxx.xxx"; my $USER="ad_user\@mydomain.com"; my $PASS="password"; my $AD_QUERY="OU=Users,OU=CISTS,DC=mydomain,DC=com"; my $AD_PORT="389"; my $OPTIONS="-x -LLL -h $IP_SERVIDOR_AD -D $USER -w $PASS -b\"OU=Users +,OU=CISTS,DC=mydomain,DC=com\" -s sub \"(objectClass=user)\" -p $AD_P +ORT";
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: List Microsoft AD users with perl on Linux (active and inactive users)
by viveksnv (Sexton) on Feb 23, 2011 at 13:11 UTC | |
|
Re: List Microsoft AD users with perl on Linux (active and inactive users)
by Sinistral (Monsignor) on Feb 23, 2011 at 15:16 UTC |