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?
In reply to LDAP. Parantheses present in the filter cn value by srini.here
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |