[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Initialize ldap with mdb



--On Monday, October 02, 2017 3:30 PM -0700 rammohan ganapavarapu <rammohanganap@gmail.com> wrote:


database        config
# rootdn directive for config
rootdn          "cn=admin,cn=config"
rootpw          {SSHA}XXXXXXXXX

As noted in the slapd-config(5) man page, the default rootdn for cn=config is cn=config. I'd generally go with the default. You would need to set the rootpw as you've done above though. ;)

I.e., I'd just do:

database	config
rootpw		{SSHA}XXXXXXXXXXXXXXXX

And go with the default rootdn.

--Quanah


--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>