PerlUserNL has asked for the wisdom of the Perl Monks concerning the following question:
I got the following script:
use strict; use warnings; use Win32::OLE; my $ou; my @filter; my $obj; $ou=Win32::OLE->GetObject("LDAP://ou=NID_Users,dc=A34,dc=NID"); @filter=("user"); $ou->{filter}=\@filter; print "Hier Volgt een lijst van gebruikers:\n"; foreach $obj (in $ou){ print "$obj->{name}\n"; print " First name: " ; print "$obj->{givenName}\n" ; print "###############\n\n\n" ; }
I want to find the users with the same givenName.
How Can I do this?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Compare usernames
by Ratazong (Monsignor) on Jan 13, 2011 at 12:09 UTC | |
|
Re: Compare usernames
by Corion (Patriarch) on Jan 13, 2011 at 12:07 UTC | |
by PerlUserNL (Initiate) on Jan 13, 2011 at 12:11 UTC | |
by marto (Cardinal) on Jan 13, 2011 at 12:15 UTC | |
by Corion (Patriarch) on Jan 13, 2011 at 12:13 UTC | |
|
Re: Compare usernames
by Anonymous Monk on Jan 13, 2011 at 13:46 UTC |