Hi,
I tried different orders with my database (bdb) and only fond cn=config

ldapsearch -LLL -Y EXTERNAL -H ldapi:/// -b olcDatabase={0}bdb,cn=config
 -s sub "(objectClass=olcDatabaseConfig)" olcRootDN olcRootPW -d4
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
SASL SSF: 0
ldap_build_search_req ATTRS: olcRootDN olcRootPW
No such object (32)
Matched DN: cn=config

Is it possible that olcRootDN and olcRootPW has another name?

Is there somekind of database editor to open the Berkeley DB files?

2017-08-15 17:42 GMT-03:00 Dieter Klünter <die...@dkluenter.de>:

> Am Tue, 15 Aug 2017 15:56:46 -0300
> schrieb playerum <controle...@gmail.com>:
>
> > Hi,
> >
> > I need to change the Root DN password, I executed the command below,
> > But it does not find the base cn=config.
> >
> > ldapsearch -LLL -Y EXTERNAL -H ldapi:/// -b cn=config
> > olcRootDN=cn=admin,dc=company,dc=local dn olcRootDN olcRootPW
> > SASL/EXTERNAL authentication started
> > SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
> > SASL SSF: 0
> > No such object (32)
>
> Wrong search base. Try something like:
>
>  # ldapsearch -Y EXTERNAL -H ldapi:/// -b olcDatabase={1}mdb,cn=config
>  -s sub "(objectClass=olcDatabaseConfig)" olcRootDN olcRootPW
>
> Note, your database ordering may differ.
>
> -Dieter
>
> --
> Dieter Klünter | Systemberatung
> http://dkluenter.de
> GPG Key ID:DA147B05
> 53°37'09,95"N
> 10°08'02,42"E
> _______________________________________________
> ltb-users mailing list
> ltb-users@lists.ltb-project.org
> https://lists.ltb-project.org/cgi-bin/mailman/listinfo/ltb-users
_______________________________________________
ltb-users mailing list
ltb-users@lists.ltb-project.org
https://lists.ltb-project.org/cgi-bin/mailman/listinfo/ltb-users

Reply via email to