aboutsummaryrefslogtreecommitdiffstats
path: root/mayor-orig/install/base/ldap/mayor-slapd.conf
diff options
context:
space:
mode:
Diffstat (limited to 'mayor-orig/install/base/ldap/mayor-slapd.conf')
-rw-r--r--mayor-orig/install/base/ldap/mayor-slapd.conf42
1 files changed, 42 insertions, 0 deletions
diff --git a/mayor-orig/install/base/ldap/mayor-slapd.conf b/mayor-orig/install/base/ldap/mayor-slapd.conf
new file mode 100644
index 00000000..d64f6623
--- /dev/null
+++ b/mayor-orig/install/base/ldap/mayor-slapd.conf
@@ -0,0 +1,42 @@
+#
+# Slapd Config File (example)
+# Fontosabb beállítások
+#
+
+# mayor objectum schemák
+include "/etc/ldap/mayor/schema/mayor.schema"
+
+# Backend típusa (alapértelmezett az ldbm)
+database bdb
+
+# Az alap könyvtár (az iskola egyedi azonosítója)
+suffix "%BASEDN%"
+
+# Az adatbázis file-ok fizikai helye
+directory "/var/lib/ldap/%ORGANIZATION%"
+
+# Az eltárolt entry-k száma és az index-file-onkénti tár terület
+# Olvasd el: http://k12linux.mesd.k12.or.us/ldap/performance.html
+cachesize 10000
+
+# dbcachesize <integer>
+# Specify the size in bytes of the in-memory cache associated with
+# each open index file. If not supported by the underlying
+# database method, this option is ignored without comment. The
+# default is 100000 bytes.
+#dbcachesize 1048576
+
+# Indexek
+index objectClass,uid pres,eq
+index cn pres,eq,sub
+index uidNumber,gidNumber eq
+
+# Jogosultságok
+include "/etc/ldap/mayor/access-control/mayor.acl"
+
+# Adminisztrátori jogok
+access to *
+ by dn="uid=admin,%BASEDN%" write
+ by group/mayorGroup/member="cn=useradmin,ou=Groups,%BASEDN%" write
+ by * read
+ \ No newline at end of file