After checking the whole cn=config I found that I have 2 olcRootDNs:

dn: olcDatabase={0}config,cn=config
olcRootDN: cn=admin,cn=config

dn: olcDatabase={1}hdb,cn=config
olcRootDN: cn=admin,dc=domain,dc=tld

I presume you mean the first olcRootDN of the cn=config right? because I can't use that one as I don't have any password set for it. How can I use it?

I also tried to use ldapi:// as root like this:

sudo ldapmodify -Y EXTERNAL -H ldapi:/// -f idx.ldif

but that did not work neither.

Thanks,
M.L.


On Thursday, November 21, 2013 9:24 PM, Quanah Gibson-Mount <quanah@zimbra.com> wrote:
--On Thursday, November 21, 2013 11:44 AM -0800 ML mail
<mlnospam@yahoo.com> wrote:

>
>
> I actually ran the following command:
>
>
> sudo ldapmodify -x -D'cn=admin,dc=domain,dc=tld' -W -f idx.ldif

This does not look like the rootdn for the cn=config db.


--Quanah


--

Quanah Gibson-Mount
Architect - Server
Zimbra, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration