index 46c33b0ef7789199d741d1277339f1c8cc2a6be6..ba0c98680dc7163279d432c59ce82ce573fb19c8 100644 (file)
include /etc/ldap/schema/openldap.schema
include /etc/ldap/schema/nis.schema
include /etc/ldap/schema/misc.schema
+include /etc/ldap/schema/trust.schema
#include /etc/ldap/schema/krb5-kdc.schema
-#include /etc/ldap/schema/trust.schema
# These should be present for GOsa. In case of samba3,
# replace samba.schema and gosa.schema by samba3.schema
# to adjust the indexing and acl stuff below!
include /etc/ldap/schema/samba.schema
include /etc/ldap/schema/pureftpd.schema
-include /etc/ldap/schema/gohard.schema
include /etc/ldap/schema/gofon.schema
+include /etc/ldap/schema/gosystem.schema
include /etc/ldap/schema/goto.schema
include /etc/ldap/schema/gosa+samba3.schema
include /etc/ldap/schema/gofax.schema
include /etc/ldap/schema/goserver.schema
+include /etc/ldap/schema/goto-mime.schema
# Schema check allows for forcing entries to
# match schemas for their objectClasses's
# Where the dynamically loaded modules are stored
modulepath /usr/lib/ldap
-moduleload back_bdb
+moduleload back_hdb
moduleload back_monitor
#moduleload back_shell
#limits anonymous size.soft=500 time.soft=5
#limits user size=none time.soft=30
-#######################################################################
-# database definitions
-#######################################################################
-
-# Monitor backend
-database monitor
+access to dn.base=""
+ by * read
access to dn.subtree=cn=Monitor
by * read
# Access to schema information
-access to dn.subtree=""
- by dn="cn=ldapadmin,dc=gonicus,dc=de" read
-
-# The backend type, ldbm, is the default standard
-database bdb
-cachesize 5000
-checkpoint 512 720
-mode 0600
-
-# The base of your directory
-suffix "dc=gonicus,dc=de"
-
-# Sample password is "tester", generate a new one using the mkpasswd
-# utility and put the string after {crypt}
-rootdn "cn=ldapadmin,dc=gonicus,dc=de"
-rootpw {crypt}OuorOLd3VqvC2
-
-# Indexing
-index default sub
-index uid,mail eq
-index gosaMailAlternateAddress,gosaMailForwardingAddress eq
-index cn,sn,givenName,ou pres,eq,sub
-index objectClass pres,eq
-index uidNumber,gidNumber,memberuid eq
-index gosaSubtreeACL,gosaObject,gosaUser pres,eq
-
-# Indexing for Samba 3
-index sambaSID eq
-index sambaPrimaryGroupSID eq
-index sambaDomainName eq
-
-
-# Where the database file are physically stored
-directory "/var/lib/ldap"
-
-# Make mods (writes entryUuid for kolab...)
-lastmod on
+#access to dn.subtree=""
+# by * read
# The userPassword/shadow Emtries by default can be
# changed by the entry owning it if they are authenticated.
by dn="cn=terminal-admin,dc=gonicus,dc=de" write
by dn="cn=ldapadmin,dc=gonicus,dc=de" write
by dn.regex="uid=[^/]+/admin\+(realm=GONICUS.LOCAL)?" write
+ by * none
access to dn.sub="ou=incoming,dc=gonicus,dc=de"
by dn="cn=terminal-admin,dc=gonicus,dc=de" write
by dn="cn=ldapadmin,dc=gonicus,dc=de" write
by dn.regex="uid=[^/]+/admin\+(realm=GONICUS.LOCAL)?" write
+ by * none
# What trees should be readable, depends on your policy. Either
# use this entry and specify what should be readable, or leave
# by peername="ip=127\.0\.0\.1" read
# by * none
+#######################################################################
+# database definitions
+#######################################################################
+
+# Monitor backend
+database monitor
+
+# The backend type, ldbm, is the default standard
+database hdb
+cachesize 5000
+mode 0600
+
+# The base of your directory
+suffix "dc=gonicus,dc=de"
+checkpoint 512 720
+
+# Sample password is "tester", generate a new one using the mkpasswd
+# utility and put the string after {crypt}
+rootdn "cn=ldapadmin,dc=gonicus,dc=de"
+rootpw {crypt}OuorOLd3VqvC2
+
+# Indexing
+index default sub
+index uid,mail eq
+index gosaSnapshotDN eq
+index gosaSnapshotTimestamp eq,sub
+index gosaMailAlternateAddress,gosaMailForwardingAddress eq
+index cn,sn,givenName,ou pres,eq,sub
+index objectClass pres,eq
+index uidNumber,gidNumber,memberuid eq
+index gosaSubtreeACL,gosaObject,gosaUser pres,eq
+
+# Indexing for Kolab
+#index alias eq,sub
+#index kolabDeleteFlag eq
+#index kolabHomeServer eq
+#index member pres,eq
+
+# Indexing for Samba 3
+index sambaSID eq
+index sambaPrimaryGroupSID eq
+index sambaDomainName eq
+
+# Indexing for DHCP
+#index dhcpHWAddress eq
+#index dhcpClassData eq
+
+# Indexing for DNS
+#index zoneName eq
+#index relativeDomainName eq
+
+# Where the database file are physically stored
+directory "/var/lib/ldap"
+
+# Log modifications and write entryUUID
+lastmod on
+
# Example replication using admin account. This will require taking the
# out put of this database using slapcat(8C), and then importing that into