AD: partial answer for a multivalue attribute

2005-02-25 Thread Hirmke Michael
Hi *, using Net:LDAP 0.31 I wrote a script to retrieve Active Directory data. Especially I am interested in getting a list of members for all our groups. Problem is, a few of these groups have more than 3000 members. If I try to get the member attribute for one of them, the following attribute nam

Re: AD: partial answer for a multivalue attribute

2005-02-25 Thread Durairaj K. Avasi
Hello, You can use page to get all the members ( i think thats the only option you have ... page size defined by the directory server.. ) here is the model code .. you can use.. #!/usr/bin/perl -w use Net::LDAP; use Net::LDAP::Control::Paged; use Net::LDAP::Constant qw( LDAP_CONTROL_PAGED ); $

RE: AD: partial answer for a multivalue attribute

2005-02-25 Thread Hirmke Michael
Hi, > Hello, > thx for your answer, but AFAIK this is the correct solution for a different problem ;) I don't have the problem to get too many hits! The problem is, that a multivalue attribut within *one* hit has too many values. To my understanding, paging won't help me in this case. Btw. - I

RE: AD: partial answer for a multivalue attribute

2005-02-25 Thread Johnson, Brian K
I think you will find that paged controls do not help. This is what I do to deal with this: Microsoft discusses this issue in the following article. They have a code example in C http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ldap/ld ap/searching_using_range_retrieval.asp Thi

RE: AD: partial answer for a multivalue attribute

2005-02-25 Thread Hirmke Michael
Hi, [...] > Microsoft discusses this issue in the following article. They have a > code example in C > > http://msdn.microsoft.com/library/default.asp?url=/library/en- > us/ldap/ld > ap/searching_using_range_retrieval.asp > > This peculiar behavior is explained in an EXPIRED RFC DRAFT. > This

[Fwd: Do not understand Net::LDAP::Entry]

2005-02-25 Thread Graham Barr
Original Message Subject: Do not understand Net::LDAP::Entry From:"Liebeskind Uri (liu)" <[EMAIL PROTECTED]> Date:Fri, February 25, 2005 10:29 am To: [EMAIL PROTECTED]