Guruprasad S <sgu...@no...> wrote:
> Hi,
>
> I am having problems using the filter.
>
> $filter = Net::LDAP::Filter->new( '(cn=Babs Jensen)');
>
> The above will return 2 entries from ldap.bigfoot.com. If I add
> o=bigfoot.com as shown below, even then I get 2 entries
>
> $filter = Net::LDAP::Filter->new( '& (cn=Babs Jensen) (o=bigfoot.com)');
>
> Can any of you please help me. Also I am unable to filter on mail field.
>
> Thanks
> Guru
I think you've really got problems with the server.
Ldap.bigfoot.com is not a "real" and complete LDAP server, it is just a
simple and very restricted LDAP front-end onto some kind of database. I
wouldn't be surprised if it ignored lots of operations and parts of filters.
Cheers,
Chris
|