Hi,

On Tuesday, 29. August 2006 00:34, [EMAIL PROTECTED] wrote:
> I am trying to write a script that searches ldap for a group and then
> prints out the members of that group.  I stripped it down to the bare
> essentials to figure out why it's not working.  When I run it, I get
> the attributes for the group name, but I don't get any members back,
> and I get an error message:
>
> Can't locate object method "get_value" via package
> "Net::LDAP::Reference" at dl_
> dn.pl line 24, <DATA> line 225.

You are using callbacks in your search()

In section CALLBACKS the Net::LDAP manual page states:

During a search the server may also send a list of references. When such a 
list is received then the subroutine will be called with a 
Net::LDAP::Reference object as the second argument.

Since Net::LDAP::Reference objects do not have a method named
"get_value" you get the error message above.

See the man pages in the Net::LDAP packages for more information.

Peter

-- 
Peter Marschall
[EMAIL PROTECTED]

Reply via email to