## http://www.acay.com.au/~oscarp/tutor/ include /usr/local/etc/openldap/schema/core.schema include /usr/local/etc/openldap/schema/cosine.schema include /usr/local/etc/openldap/schema/inetorgperson.schema include /usr/local/etc/openldap/schema/nis.schema modulepath /usr/local/libexec/openldap moduleload back_bdb # # Allow LDAPv2 clients to bind. This is needed for such # clients as am-utils since that automounter only speaks # LDAPv2 for the moment. Many mail clients only speak LDAPv2 # as well. # allow bind_v2 # # Process Info # pidfile /var/run/openldap/slapd.pid argsfile /var/run/openldap/slapd.args # # Set transactional checkpoint (writing of changed data to # to disk) to occur when either # # 512 Kilobytes of data have been written to the bdb sub- # system. # # 720 Minutes have passed since the last checkpoint. # # checkpoint 512 720 database bdb suffix "dc=whatever,dc=local" rootdn "cn=admin,dc=whatever,dc=local" #rootpw "l0c4l" rootpw {SSHA}MGMenUgGDnWxA+wUFMhoXzrAKJeqxjAR directory /var/db/openldap-data index objectClass eq,pres index ou,cn,mail,surname,givenname eq,pres,sub index uidNumber,gidNumber,loginShell eq,pres index uid,memberUid eq,pres,sub index nisMapName,nisMapEntry eq,pres,sub