Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dex
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
dex
Commits
b70f4c4f
Commit
b70f4c4f
authored
Jul 17, 2017
by
rithu leena john
Committed by
GitHub
Jul 17, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #989 from rithujohn191/ldap-docs
Documentation: add a group query example for the ldap connector.
parents
377d9b44
6f9127b4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
26 additions
and
0 deletions
+26
-0
ldap-connector.md
Documentation/ldap-connector.md
+26
-0
No files found.
Documentation/ldap-connector.md
View file @
b70f4c4f
...
...
@@ -191,6 +191,32 @@ groupSearch:
# Unique name of the group.
nameAttr
:
cn
```
To extract group specific information the
`DN`
can be used in the
`userAttr`
field.
```
# Top level object example.coma in LDIF file.
dn: dc=example,dc=com
objectClass: top
objectClass: dcObject
objectClass: organization
dc: example
```
The following is an example of a group query would match any entry with member=
<user
DN
>
:
```
yaml
groupSearch
:
# BaseDN to start the search from. It will translate to the query
# "(&(objectClass=group)(member=<user DN>))".
baseDN
:
cn=groups,cn=compat,dc=example,dc=com
# Optional filter to apply when searching the directory.
filter
:
"
(objectClass=group)"
userAttr
:
DN
# Use "DN" here not "uid"
groupAttr
:
member
nameAttr
:
name
```
## Example: Searching a FreeIPA server with groups
...
...
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