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

Re: not be able to initialize ldap



--On Tuesday, December 04, 2018 8:10 PM +0000 Eggo why <eggo@hotmail.com> wrote:

database        bdb

Don't use BDB as your backend.


### for root oraclecontext


OpenLDAP is not Oracle.  It probably should not have an oracle context.

oidbase.ldif
dn: dc=cornell,dc=edu

objectClass: top

objectClass: dcObject

objectClass: organization

o: cornell.edu

dc: cornell



dn: cn=OracleContext,dc=cornell,dc=edu

objectclass: orclContext
cn: OracleContext

I can't tell if your LDIF file is badly formatted or the extra spacing here is an effect of the mailer you are using.

l$ ldapadd -vc -x -D "cn=admin,dc=cornell,dc=edu" -w $passwd -f
oidbase.ldif
ldap_initialize( <DEFAULT> )

ldap_bind: Invalid DN syntax (34)
        additional info: invalid DN

What does the slapd server log show as the received DN?

Additionally, if you're working on converting from OID to OpenLDAP I would note that Symas has extensive experience in this area.

--Quanah


--

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