Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dex
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hdacloud
dex
Commits
1b7b3515
Commit
1b7b3515
authored
6 years ago
by
Takashi Okamoto
Browse files
Options
Downloads
Patches
Plain Diff
Add Active Directory instruction.
parent
fbdb55ab
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
Documentation/connectors/ldap.md
+39
-0
39 additions, 0 deletions
Documentation/connectors/ldap.md
with
39 additions
and
0 deletions
Documentation/connectors/ldap.md
+
39
−
0
View file @
1b7b3515
...
...
@@ -284,3 +284,42 @@ connectors:
If the search finds an entry, it will attempt to use the provided password to bind as that user entry.
[
openldap
]:
https://www.openldap.org/
## Example: Searching a Active Directory server with groups
The following configuration will allow the LDAP connector to search a Active Directory using an LDAP filter.
```
yaml
connectors
:
-
type
:
ldap
name
:
ActiveDirectory
id
:
ad
config
:
host
:
ad.example.com:636
insecureNoSSL
:
false
insecureSkipVerify
:
true
bindDN
:
cn=Administrator,cn=users,dc=example,dc=com
bindPW
:
admin0!
usernamePrompt
:
Email Address
userSearch
:
baseDN
:
cn=Users,dc=example,dc=com
filter
:
"
(objectClass=person)"
username
:
userPrincipalName
idAttr
:
DN
emailAttr
:
userPrincipalName
nameAttr
:
cn
groupSearch
:
baseDN
:
cn=Users,dc=example,dc=com
filter
:
"
(objectClass=group)"
userAttr
:
DN
groupAttr
:
member
nameAttr
:
cn
```
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment