OID ldapsearch fails With "-bash: !: event not found" with NOT Operator (! / exclamation point) Used in the Search Filter. OID ldapbind with ! Character in the Password Fails with: -bash: !: event not found (Doc ID 1474846.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Internet Directory - Version 10.1.2 and later
Information in this document applies to any platform.

Symptoms

 Oracle Internet Directory (OID) 10g or 11g.

Command line ldapsearch fails with "-bash: !: event not found" when operator "NOT" (! / exclamation point) is used in the search filter.

For example:

 

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms