From: <rm...@ds...> - 2002-10-16 11:40:14
|
Hi all, I get an I/O Error when executing this code: $ldap =3D Net::LDAPS->new($ldapserver, port =3D> '636', verify =3D> 'none', ); my $m =3D $ldap->search( base =3D> $base, attrs =3D> ['dn'] , filter =3D> "(sAMAccountName=3D*)"); I read the problem occurs because it returns too=20 much results, therefore I tried this other code ( note the r* ): my $m =3D $ldap->search( base =3D> $base, attrs =3D> ['dn'] , filter =3D> "(sAMAccountName=3Dr*)"); and it worked ok, returning all the entries starting with 'r', The first code should return about 300 entries, how could I get the whole search? I use: Redhat 7.2 Perl 5.6.1 perl-ldap 0.26 Convert::BER 1.31 ( I updated it because I read it could be guilty) the server is a Windows 2000 Advanced server SP2 thanks, ######################################################################## Rafa Martinez Diaz Dep. Sistemas Inform=E1ticos y Computaci=F3n Univ. Polit=E9cnica de Valencia Camino de Vera, s/n Valencia 46022 Tel: (+34) 96 387 73 55 Ext: 73553 ------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ |