Server Configuration (/etc/ldap/slapd.conf)

# Include Schemas
include         /etc/ldap/schema/core.schema
include         /etc/ldap/schema/cosine.schema
include         /etc/ldap/schema/nis.schema
include         /etc/ldap/schema/inetorgperson.schema

# Where the dynamically loaded modules are stored
modulepath      /usr/lib/ldap
moduleload      back_ldbm

# ldbm database definitions
database        ldbm

suffix          "dc=uni18, dc=unisys, dc=com"
rootdn          "cn=Manager,dc=uni18,dc=unisys,dc=com"
rootpw          thisp

# Root password can be created with:
# perl  -e "print crypt(thisp, ac,)" > pass.txt
#rootpw          {crypt}acunRNwFPEdHQ 

# Where the database file are physically stored 
directory       "/var/lib/ldap"

# slapd process ID file
pidfile         /var/run/slapd/slapd.pid

# Below can be added additional databases, indexing, and security ACL 
Re-start slapd daemon every time /etc/ldap/slapd.conf is upgraded:
/etc/init.d/slapd stop
/etc/init.d/slapd start
Previous Pageprevious First Pagetop Next Pagenext