Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 653 Bytes

PS_LDAP_Escape_Characters.md

File metadata and controls

12 lines (11 loc) · 653 Bytes

When using filters, certain characters must be escaped

Character Escaped As Note
`” Only needed if the data is enclosed in double-quotes.
\’ Only needed if the data is enclosed in single quotes.
NUL \00 Standard LDAP escape sequence.
\ \5c Standard LDAP escape sequence.
* \2a Escaped automatically, but only in -eq and -ne comparisons. Use -like and -notlike operators for wildcard comparison.
( /28 Escaped automatically.
) /29 Escaped automatically.
/ /2f Escaped automatically.