# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
include /your/directory/ldap/etc/slapd.at.conf
include /your/directory/ldap/etc/slapd.oc.conf
schemacheck on
#referral ldap://root.openldap.org/
pidfile /var/run/slapd.pid
argsfile /var/run/slapd.args
#######################################################################
# ldbm database definitions
#######################################################################
database ldbm
suffix "o=ATL"
# database directory
# this directory MUST exist prior to running slapd AND
# should only be accessable by the slapd/tools Mode 700 recommended.
# directory /usr/local/var/openldap-ldbm
directory /your/directory/ldap/db
dbcachesize 33554432
cachesize 65536
#suffix "dc=my-domain, dc=com"
#suffix "o=My Organization Name, c=US"
#rootdn "cn=Manager, dc=my-domain, dc=com"
#rootdn "cn=Manager, o=My Organization Name, c=US"
#rootdn our master user name is still root
rootdn "cn=root,o=ATL"
# cleartext passwords, especially for the rootdn, should
# be avoid. See slapd.conf(5) for details.
rootpw foo
# root can change things
access to * by "dn=root,o=ATL" write
# anyone with access to the machine can connect and read
access to * by * read
index cn,sn,uid,keywords
index objectclass pres,eq
index default none
# top is read in when we create the database
objectclass top requires objectClass
# o is a nickname for organization
objectclass organization requires objectClass, o
# t is a nickname for type
objectclass type requires objectClass, t
# cat is an alias for category (mispelled here as catagory
objectclass catagory requires objectClass, cat
# pkg is a complex class which has cn, cat, and t in addition to the
# basic pieces of objectClass and cn. It allows the other entries as well.
objectclass pkg
requires objectClass, cn, cat, t
allows multiLineDescription, labeledURL, dependentUpon, keywords, platform, seeAlso
# The allow statement is on one line, no matter what your browser shows.
You must have all the software built and set up. Let's build our database.