From: <ne...@na...> - 2001-02-13 15:25:06
|
This being the case I would highly recommend (if possible) change some of the examples in the documentation that use bigfoot since I'm sure other issues like this will continue to crop up. eg in the Net::LDAP::Conn $ldap = Net::LDAP->new('ldap.bigfoot.com') or die "$@"; Unfortunately I don't have any suggestions what to change it to... SteveN Chris Ridd <chr...@me...>@lists.sourceforge.net on 02/13/2001 06:43:51 AM From: Chris Ridd <chr...@me...>@lists.sourceforge.net on 02/13/2001 06:43 AM Sent by: per...@li... To: Guruprasad S <sgu...@no...> perl-ldap-dev <per...@li...> cc: Subject: Re: Filter problems 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 |