>>>>> "Chris" == Chris Ridd <[EMAIL PROTECTED]> writes:
Chris> On 18/4/04 5:12 am, [EMAIL PROTECTED]
Chris> <[EMAIL PROTECTED]> wrote:
[...]
>> Also, i cant perform presence (*) searches on my directory
Chris> You're probably malforming the filter, and/or the list of attributes.
Chris> Something like this works, if the bound user has the right permissions:
Chris> $res = $ldap->search(base => "o=Yoyodyne Corp",
Chris> scope => "sub",
Chris> filter => "(objectclass=*)",
Chris> attrs => [ 'createTimestamp' ]);
You may find useful to display the error message if any:
$res->code && die "Search error: ", $res->error;
--
Claude