freman / caddy-reauth

Auth your Caddyserver requests against another server
MIT License
27 stars 15 forks source link

Document use of spaces in LDAP parameters #28

Closed mh720 closed 5 years ago

mh720 commented 5 years ago

Recently needed to filter using an LDAP OU= with a space in it. After some trial-and-error, it looks like c/c++/java escaping works here: OU=GROUP\u0020NAME

Please consider adding to the README if this is expected and/or supported.

freman commented 5 years ago

Nice find, I believe you're the first person who's tried to use spaces that I know of, we've not had to here so it's never come up. I'll absolutely update the documentation to reflect this possibility.