--On Monday, October 02, 2017 2:19 PM -0700 rammohan ganapavarapu rammohanganap@gmail.com wrote:
Hi,
I am trying to follow this thread ( http://blog.roeften.com/2015/03/openldap-24-on-centos-7-using-mdb.html ) to initialize the ldap config in non-default directory but i am getting this error.
cat example.ldif | slapadd -v -F /opt/data/slapd.d -n 0 -d -1
59d29ce6 >>> dnPrettyNormal: <cn=config> 59d29ce6 <<< dnPrettyNormal: <cn=config>, <cn=config> 59d29ce6 str2entry: entry -1 has multiple DNs "cn=config" and "cn=module,cn=config" slapadd: could not parse entry (line=1)
If i add one by one (one dn at a time) it seems to be working.
Any idea?
Well, if you already have your own cn=config database, then you're just making a real mess out of it. That would be my guess. I'm not sure why you're following some random "how to" guide. If you already had a working slapd.conf, then all you needed to do was convert it to cn=config using "slaptest".
--Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com