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

Re: Question about Openldap+Oracle10g


No any progress.

Cause "o=fjh,c=jp" had been added in OracleDB, I did a duplicate 
addition for entry "dn: o=fjh,c=jp", so I got:
ldap_add: Already exists (68)

But I cannot search it by ldapsearch command.
filter: objectclass=*
requesting: ALL
# extended LDIF
# LDAPv3
# base <o=fjh,c=jp> with scope sub
# filter: objectclass=*
# requesting: ALL

# search result
search: 2
result: 0 Success

# numResponses: 1

Continued, add an entry "cn=test,o=fjh,c=jp", so the error below
adding new entry "cn=test,o=fjh,c=jp"
ldap_add: Internal (implementation specific) error (80)
        additional info: SQL-backend error

Look debug log, I found:

<= root access granted
   backsql_add("cn=test,o=fjh,c=jp"): executing "call create_person(?)"
   backsql_add("cn=test,o=fjh,c=jp"): create_proc execution failed
Return code: -1
   Native error code: 0
   SQL engine state:  07001
   Message:           [OpenLink][ODBC][Driver]Wrong number of parameters
send_ldap_result: conn=0 op=1 p=3
send_ldap_result: err=80 matched="" text="SQL-backend error"

Do you know where is the reason? 
Does OrcleDriver(Openlink) have sth wrong? 

Best regards