Re: Query using perl-ldap

2003-10-10 Thread Chris Ridd
On 10/10/03 12:03 pm, Marco Marongiu <[EMAIL PROTECTED]> wrote: > About get_value, are you aware of its behaviour in scalar and list context? > > get_value ( ATTR [, OPTIONS ] ) > Get the values for the attribute ATTR. In a list context returns > all values for the given

Re: Query using perl-ldap

2003-10-10 Thread Marco Marongiu
Ciao Are you sure you really ran that script? Alessandro Favretto wrote: This is the simplest script i tested. -- #!/usr/bin/perl use Net::LDAP qw(:all); $ldap = new Net::LDAP('ldapserver.domain.com') or die "$@"; $ldap->bind( versi

Re: Query using perl-ldap

2003-10-10 Thread Alessandro Favretto
This is the simplest script i tested. -- #!/usr/bin/perl use Net::LDAP qw(:all); $ldap = new Net::LDAP('ldapserver.domain.com') or die "$@"; $ldap->bind( version => 3 ); @attrs = ['uniqueMember']; $mesg = $ldap->search ( base => "o=do

Re: Query using perl-ldap

2003-10-10 Thread Marco Marongiu
Ciao Alessandro Alessandro Favretto wrote: If i extract all the attributes of the group i can see the member list with the uniqueMember attribute before the userid of everyone. If i try to extract only that attribute the script responses only with the first member of the list. Sombody has alread

Query using perl-ldap

2003-10-10 Thread Alessandro Favretto
Hi to everbody, i have a problem with perl and Ldap: I'm using Iplanet directory server 5.1, but i suppose that you can enlarge this question to every kind of ldap. I'm using perl-Ldap module. I don't know how extract the member list of a static group. If i extract all the attributes of the group