Skip to content
Snippets Groups Projects
Commit f7b85d62 authored by Benjamin Graillot's avatar Benjamin Graillot Committed by Benjamin Graillot
Browse files

[slapd] uid musts start with _

parent ca0cb52c
No related branches found
No related tags found
1 merge request!142[slapd] uid musts start with _
......@@ -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 %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment