Escaping them with a backslash (within double quotes the backslash is meaningful and must be escaped, so two of them) should work:
$ldap->search( base => $ldapbase, scope => "sub", filter => "(cn= John Wyner \\(DRAFT\\))" );
In reply to Re: LDAP. Parantheses present in the filter cn value
by shmem
in thread LDAP. Parantheses present in the filter cn value
by srini.here
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |