Browse Source

disable annonyme bind

ofreax 10 years ago
parent
commit
594ac36cc6
1 changed files with 10 additions and 0 deletions
  1. 10 0
      image/service/slapd/assets/config/bootstrap/ldif/02-security.ldif

+ 10 - 0
image/service/slapd/assets/config/bootstrap/ldif/02-security.ldif

@@ -1,3 +1,13 @@
+dn: cn=config
+changetype: modify
+add: olcDisallows
+olcDisallows: bind_anon
+
+dn: olcDatabase={-1}frontend,cn=config
+changetype: modify
+add: olcRequires
+olcRequires: authc
+
 dn: olcDatabase={1}hdb,cn=config
 changetype: modify
 delete: olcAccess