srini.here has asked for the wisdom of the Perl Monks concerning the following question:
below is my ldap search query $ldap->search(base=>$ldapbase, scope => "sub", filter=>"(cn= John Wyner (DRAFT))");
in the above code, (DRAFT) is part of the full search name. The query doesn't work. But it does work for all the search names that don't have parantheses. I tried several things like escaping the brackets, giving Johy Wyner*. The latter gives me all results having John Wyner not the one in DRAFT team. It's clear that parantheses are being considered part of the ldap syntax and not the cn value. Any ideas?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: LDAP. Parantheses present in the filter cn value
by shmem (Chancellor) on Dec 05, 2013 at 15:35 UTC | |
by atcroft (Abbot) on Dec 05, 2013 at 15:48 UTC | |
by srini.here (Initiate) on Dec 09, 2013 at 12:58 UTC |