rendered paste body#GLOBAL PARAMS
## Include Schema's here
include /etc/openldap/schema/core.schema
## Include support for the inetOrgPerson Object and NIS auth stuff
include /etc/openldap/schema/cosine.schema
include /etc/openldap/schema/inetorgperson.schema
include /etc/openldap/schema/nis.schema
## Add logging here
loglevel 296
pidfile /var/run/openldap/slapd.pid
argsfile /var/run/openldap/slapd.args
## TLS Security Options
#TLSCipherSuite HIGH
#TLSCertificateFile /etc/local/slapd-cert.pem
#TLSCertificateKey /etc/local/slapd-key.pem
## Misc Security Settings
#password-hash {SSHA}
passwd-hash {CRYPT}
# DATABASE Section ###
#database 1 - BDB
database bdb
suffix "dc=regx,dc=org"
#rootdn "cn=Manager,dc=regx,dc=org"
#rootpw {SSHA}gtrJhNVwI7b2Lzx7fEyX7xix6JE4OaH4
directory /usr/lib/openldap
mode 0600
index objectClass eq
index cn,sn,mail eq,sub
index departmentNumber eq
cachesize 1000
#ACL - Below gives read access to everyone to everything
access to *
by * read
####################################
[root@localhost openldap]# ldapsearch -x -b "cn=runlevel,dc=regx,dc=org" -s base
# extended LDIF
#
# LDAPv3
# base <cn=runlevel,dc=regx,dc=org> with scope baseObject
# filter: (objectclass=*)
# requesting: ALL
#
# search result
search: 2
result: 32 No such object
matchedDN: dc=regx,dc=org
# numResponses: 1