Missing URI in BDB configuration OpenLDAP server

Viewed 16

I am trying to set the config file of the bdb database in OpenLDAP Server, but I am unable to find the URI or where to configure the hostname and port number of the server. Could anyone please guide how can I ensure that the OpenLDAP is connected. Below is my configuration file details of bdb database in OpenLDAP.

```
# BDB Backend configuration file
# See slapd.conf(5) for details on configuration options.
# This file should NOT be world readable.
ucdata-path ./ucdata
include     ./schema/core.schema
include     ./schema/cosine.schema
include     ./schema/nis.schema
include     ./schema/inetorgperson.schema
include     ./schema/openldap.schema
include     ./schema/dyngroup.schema


pidfile     ./run/slapd.pid
argsfile    ./run/slapd.args


# Enable TLS if port is defined for ldaps


TLSVerifyClient never
TLSCipherSuite ECDHE-RSA-AES256-SHA384:AES256- 
SHA256:!RC4:HIGH:!MD5:!aNULL:!EDH:!EXP:!SSLV2:!eNULL
TLSProtocolMin 3.3
TLSCertificateFile ./secure/certs/maxcrc.cert.pem
TLSCertificateKeyFile ./secure/certs/maxcrc.key.pem
TLSCACertificateFile ./secure/certs/maxcrc.cert.pem




#######################################################################
# bdb database definitions
#######################################################################


database    bdb
suffix      "dc=maxcrc,dc=com"
rootdn      "cn=Manager,dc=maxcrc,dc=com"
# Cleartext passwords, especially for the rootdn, should
# be avoid.  See slappasswd(8) and slapd.conf(5) for details.
# Use of strong authentication encouraged.

rootpw    {SSHA}fAjw12FRHdRGOoo4Wi5sE81G85algpnT

# The database directory MUST exist prior to running slapd AND
# should only be accessible by the slapd and slap tools.
# Mode 700 recommended.
directory ./data
dirtyread
searchstack 20
# Indices to maintain
index mail pres,eq
index objectclass pres
index default eq,sub
index sn eq,sub,subinitial
index telephonenumber
index cn
```
0 Answers
Related