Then it seems likely that the shell is interpreting those characters rather than passing them to ldapsearch. This really would be very much easier and more secure with Net::LDAP - is there a reason why you can't use the module?
--------------------------------------------------------------
"If there is such a phenomenon as absolute evil, it consists in treating another human being as a thing."
John Brunner, "The Shockwave Rider".
| [reply] |