# $OpenLDAP: pkg/ldap/servers/slapd/slapd.conf,v 1.8.8.4 2000/08/26 17:06:18 kurt Exp $ # # See slapd.conf(5) for details on configuration options. # This file should NOT be world readable. # include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema # Uncomment the NIS schema to support Linux login authentication include /etc/openldap/schema/nis.schema #include /etc/openldap/schema/redhat/rfc822-MailMember.schema #include /etc/openldap/schema/redhat/autofs.schema #include /etc/openldap/schema/redhat/kerberosobject.schema # Allow LDAPv2 client connections. This is NOT the default. allow bind_v2 # Define global ACLs to disable default read access. # Do not enable referrals until AFTER you have a working directory # service AND an understanding of referrals. #referral ldap://root.openldap.org #pidfile /var/run/slapd.pid #argsfile /var/run/slapd.args # Load dynamic backend modules: # modulepath /usr/sbin/openldap # moduleload back_ldap.la # moduleload back_ldbm.la # moduleload back_passwd.la # moduleload back_shell.la # To allow TLS-enabled connections, create /usr/share/ssl/certs/slapd.pem # and uncomment the following lines. # TLSCertificateFile /usr/share/ssl/certs/slapd.pem # TLSCertificateKeyFile /usr/share/ssl/certs/slapd.pem ####################################################################### # ldbm database definitions ####################################################################### database ldbm #suffix "dc=stooges,dc=org" suffix "o=stooges" rootdn "cn=StoogeAdmin,o=stooges" rootpw secret1 directory /var/lib/ldap/stooges defaultaccess read schemacheck on lastmod on #allow * # Indices to maintain #index objectClass eq #index objectClass,uid,uidNumber,gidNumber eq #index cn,mail,surname,givenname eq,subinitial index cn,sn,st eq,pres,sub database ldbm suffix "o=delta" # Only one suffix allowed per database #suffix "dc=delta,dc=org" rootdn "cn=DeanWormer,o=delta" rootpw secret2 directory /var/lib/ldap/fraternity defaultaccess read schemacheck on lastmod on index cn,sn,st eq,pres,sub