Thank you, would you recommend different user for replication or just use the roodn? i know its upto me but just trying to follow the best practices :)

Ram

On Mon, Oct 2, 2017 at 2:38 PM, Quanah Gibson-Mount <quanah@symas.com> wrote:
--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>