Skip to content
Snippets Groups Projects
Commit 257d2334 authored by shirenn's avatar shirenn 🌊 Committed by shirenn
Browse files

[slapd] DNS integration

parent 7eb6cc52
No related branches found
No related tags found
1 merge request!316Shirenn update
......@@ -35,6 +35,8 @@ constraint_attribute description regex {{ slapd.regex }}
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)
constraint_attribute description regex ^.*(\ IN)?\ (TXT|DNAME|AAAA|CNAME)\ .*$
restrict=ldap:///ou=dns,dc=crans,dc=org??sub?(objectClass=dNSDomain)
moduleload syncprov
{% endif %}
......@@ -136,6 +138,12 @@ access to attrs=userPassword,shadowLastChange
by anonymous auth
by * none
access to attrs=loginShell,mail,telephoneNumber
by self write
by set="[cn=_nounou,ou=group,dc=crans,dc=org]/memberUid & user/uid" write
by dn="cn=replicator,dc=crans,dc=org" read
by * read
# Ensure read access to the base for things like
# supportedSASLMechanisms. Without this you may
# have problems with SASL not knowing what
......@@ -166,6 +174,12 @@ access to attrs=userPassword,shadowLastChange
by dn="cn=replicator,dc=crans,dc=org" read
by * none
access to attrs=loginShell,mail,telephoneNumber
by self write
by set="[cn=_nounou,ou=group,dc=crans,dc=org]/memberUid & user/uid" write
by dn="cn=replicator,dc=crans,dc=org" read
by * read
# Ensure read access to the base for things like
# supportedSASLMechanisms. Without this you may
# have problems with SASL not knowing what
......
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