From: Graham B. <gb...@po...> - 2001-03-28 16:52:11
|
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. |