Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ansible
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
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
Nounous
Ansible
Commits
2ad6728a
Commit
2ad6728a
authored
4 years ago
by
Benjamin Graillot
Browse files
Options
Downloads
Plain Diff
Merge branch 'ldap' into 'newinfra'
[slapd] uid musts start with _ See merge request
!142
parents
3cff741a
f7b85d62
No related branches found
No related tags found
1 merge request
!142
[slapd] uid musts start with _
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/slapd/templates/ldap/slapd.conf.j2
+7
-0
7 additions, 0 deletions
roles/slapd/templates/ldap/slapd.conf.j2
with
7 additions
and
0 deletions
roles/slapd/templates/ldap/slapd.conf.j2
+
7
−
0
View file @
2ad6728a
...
...
@@ -29,6 +29,13 @@ moduleload auditlog
overlay auditlog
auditlog /var/log/openldap/auditlog.log
moduleload constraint
overlay constraint
constraint_attribute description regex ^(dhcp|dns|dns-primary|dns-secondary|ftp|gitlab|miroir|ntp|pve|radius)$
restrict=ldap:///ou=hosts,dc=crans,dc=org??one?(objectClass=device)
constraint_attribute uid regex ^_
restrict=ldap:///ou=passwd,dc=crans,dc=org??one?(objectClass=posixAccount)
moduleload syncprov
{% endif %}
...
...
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