Reading all elements

2008-02-07 Thread info
Hi everybody, i tried to get all elements of my ldap by using the source code: <--- #!/usr/bin/perl use strict; use DBI; use Net::SMTP; use Net::LDAP; use Net::LDAP::LDIF; use Net::LDAP::Control::Paged; use Net::LDAP::Constant qw(LDAP_CONTROL_PAGED); my $ad_ldap_dn = "cn=myuserid,ou

Re: Reading all elements

2008-02-07 Thread info
Hi, I changed the page control value to 1000 but still get only 6243 elements... The objectclass=* would also not work :( Some other ideas? Thanks Andy -Ursprüngliche Nachricht- Von: Michael Alan Dorman [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 7. Februar 2008 14:29 An: perl-

Re: Reading all elements

2008-02-07 Thread info
I have set the limit to 1000... but that does not change the situation the number of results are the same Michael Alan Dorman wrote: Well I don't know the exact mechanism by which the page control works, so my gut inclination would be to remove it entirely, at least to rule it out as

Re: Reading all elements

2008-02-07 Thread info
Michael Alan Dorman wrote: Well I don't know the exact mechanism by which the page control works, so my gut inclination would be to remove it entirely, at least to rule it out as an issue. Many times there are limits on the number of records that can be read with a single call - AD by defa

Re: Reading all elements

2008-02-07 Thread info
Hi, the strange thing is, that sn und cn is allways set :( and objectclass results are less then cn results... that makes now sense The kind of server i don't know... i think it is an windows product but i could give now garantue Quoting: it would be unusual for cn and sn to be the same.

Re: Reading all elements

2008-02-07 Thread info
Sorry, i changed the page control value to 10.000... but the result is below :( Quoting [EMAIL PROTECTED]: Hi, I changed the page control value to 1000 but still get only 6243 elements... The objectclass=* would also not work :( Some other ideas? Thanks Andy -Ursprüngliche Nachri

Re: Reading all elements

2008-02-07 Thread info
The strange thing is, that the results are different when changing the filter... cn=* gives more reuslts then sn=* :( but that seams not possible... because the 'debug' shows that cn and sn are the same On Thu, 07 Feb 2008 19:00:46 +0100 [EMAIL PROTECTED] wrote: Sorry, i changed the