On 18/4/04 5:12 am, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
> Hi Graham,
>
> I am using the NET:LDAP library to query the ldap directory.
> When i use the command line ldapsearch i can retireve the
> createTimestamp
> attibute. However, i cant do the same when i use the attrs=>
> [['createTimestamp'] in the search filter. Can you explain why this is
> happeniing.
>
> Also, i cant perform presence (*) searches on my directory
You're probably malforming the filter, and/or the list of attributes.
Something like this works, if the bound user has the right permissions:
$res = $ldap->search(base => "o=Yoyodyne Corp",
scope => "sub",
filter => "(objectclass=*)",
attrs => [ 'createTimestamp' ]);
If this doesn't help, please send some snippets of the actual code you're
using.
Cheers,
Chris