Running some command-line LDAP searches and was getting tripped up in Group Membership filters. I could filter by full names without parethesis; but could not if a parenthesis was there. Simple fix, whack a "\" in front to escape it. Great.
I then had to put that into a YAML file to execute through a back end script and it failed. Every time. Tried double escaping in case there was a deescaping somewhere through. Nope. Lots of searching and then I found a StackOverflow article that pointed out some special filters. Putting in "\28" and "\29" fixed it. Yay!