Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
befe1356
Commit
befe1356
authored
Nov 17, 2016
by
Chris Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Include note about using user_filter syntax with unicode chars
Fixes
https://gitlab.com/gitlab-org/gitlab-ee/issues/1201
parent
4a03f72e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
0 deletions
+18
-0
doc/administration/auth/ldap.md
doc/administration/auth/ldap.md
+18
-0
No files found.
doc/administration/auth/ldap.md
View file @
befe1356
...
...
@@ -246,6 +246,24 @@ group you can use the following syntax:
(memberOf:1.2.840.113556.1.4.1941:=CN=My Group,DC=Example,DC=com)
```
### Escaping special characters
If the
`user_filter`
DN contains a special characters. For example a comma
```
OU=GitLab, Inc,DC=gitlab,DC=com
```
This character needs to be escaped as documented in
[
RFC 4515
](
https://tools.ietf.org/search/rfc4515
)
.
Due to the way the string is parsed the special character needs to be convered
to hex and
`\\5C\\`
(
`5C`
=
`\` in hex) added before it.
As an example the above DN would look like
```
OU=GitLab\\5C\\2C Inc,DC=gitlab,DC=com
```
Please note that GitLab does not support the custom filter syntax used by
omniauth-ldap.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment