Maximum value count for multivalued attributes

2003-12-01 Thread Fox Flanders
I'm trying to retrieve the list of members in an AD group using perl-ldap. It works fine with a small number of people in a group. But when doing a get_value() on an attribute with say 1000 values, like a large Active Directory group with attribute "member", I get 'undef' from get_value(). Does an

Re: Fwd: Net::LDAP results comapre woes.

2003-12-01 Thread Jim Harle
John, Try for $entry ($mesg->entries) { $hashentry{$entry->get-value('uid')} = $entry; } --Jim Harle On Mon, 1 Dec 2003, Graham Barr wrote: > Begin forwarded message: > > From: John Hennessy <[EMAIL PROTECTED]> > > Date: 1 December 2003 15:22:09 GMT > > To: [EMAIL PROTECTED] > > Subject:

Re: binary AD attributes?

2003-12-01 Thread Jim Harle
A simpler way than reading the syntax (note though that is the 'correct' way to do it) is to use code like: foreach my $attr ($entry->attributes) { print $attr; foreach my $val ($entry->get_value($attr)) { $val = 'Not ASCII' unless ($val =~ /^[\x00-\x7f]+$/ ); print

Fwd: Net::LDAP results comapre woes.

2003-12-01 Thread Graham Barr
Begin forwarded message: From: John Hennessy <[EMAIL PROTECTED]> Date: 1 December 2003 15:22:09 GMT To: [EMAIL PROTECTED] Subject: Net::LDAP results comapre woes. Message-Id: <[EMAIL PROTECTED]> Hi Graham, please excuse the direct contact, I appreciate you must get a lot of email. I am wanting to