From: Chris R. <chr...@me...> - 2001-03-28 17:04:55
|
Graham Barr <gb...@po...> wrote: > On Wed, Mar 28, 2001 at 05:23:46PM +0100, Chris Ridd wrote: >> Graham Barr <gb...@po...> wrote: >> > ----- Forwarded message from S Balasubramaniyan >> > <sb...@no...> ----- > >> > my $result = $ldap->search ( >> > base => "o=nortel", >> > filter => "unique_key=12345", >> >> That is not a legal filter that conforms to RFC 2254. At the very least >> this should be: >> >> filter => "(unique_key=12345)", > > This is such a common mistake that Net::LDAP::Filter does > > $filter = "(" . $filter . ")" > unless $filter =~ /^\(/; > > > Graham. > I suspected it might do :-) Cheers, Chris |