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

Re: pls help: "Operations error" from ldapdelete (ITS#29)



> I've committed changes to OPENLDAP_REL_ENG_1_1 branch that may
> have an impact on this issue.  The version is only available
> via AnonCVS.  Would appreciate any testing you might be able to
> accomplish.

I installed the OPENLDAP_REL_ENG_1_1 branch on Solaris 2.6 (with gdbm).  The
same error was obtained ::::

# ldapdelete -D 'cn=root,dc=cuhk,dc=edu,dc=hk' -w xxxx 'uid=1002,dc=cuhk,dc=edu,dc=hk'
ldap_delete: Operations error


with debug output :

do_bind
do_bind: version 2 dn (cn=root,dc=cuhk,dc=edu,dc=hk) method 128
dn2entry_r: dn: cn=root,dc=cuhk,dc=edu,dc=hk
=> dn2id( "cn=root,dc=cuhk,dc=edu,dc=hk" )
=> ldbm_cache_open( "/usr/local/openldap/var/db/dn2id.gdbm", 2, 600 )
<= ldbm_cache_open (cache 0)
<= dn2id NOID
dn2entry_r: dn: dc=cuhk,dc=edu,dc=hk
=> dn2id( "dc=cuhk,dc=edu,dc=hk" )
====> cache_find_entry_dn2id: found dn: DC=CUHK,DC=EDU,DC=HK
<= dn2id 4373 (in cache)
=> id2entry_r( 4373 )
====> cache_find_entry_dn2id: found id: 4373 rw: 0
<= id2entry_r 0x60648 (cache)
====> cache_return_entry_r
send_ldap_result 0::
do_delete
dn2entry_w: dn: uid=1002,dc=cuhk,dc=edu,dc=hk
=> dn2id( "uid=1002,dc=cuhk,dc=edu,dc=hk" )
====> cache_find_entry_dn2id: found dn: UID=1002,DC=CUHK,DC=EDU,DC=HK
<= dn2id 17159 (in cache)
=> id2entry_w( 17159 )
====> cache_find_entry_dn2id: found id: 17159 rw: 1
<= id2entry_w 0x61358 (cache)
rdwr_Xchk: readers_reading: 0 writer_writing: 1
=> has_children( 17159 )
=> ldbm_cache_open( "/usr/local/openldap/var/db/id2children.gdbm", 2, 600 )
<= ldbm_cache_open (opened 4)
<= has_children 0
rdwr_Xchk: readers_reading: 0 writer_writing: 1
dn2entry_w: dn: dc=cuhk,dc=edu,dc=hk
=> dn2id( "dc=cuhk,dc=edu,dc=hk" )
====> cache_find_entry_dn2id: found dn: DC=CUHK,DC=EDU,DC=HK
<= dn2id 4373 (in cache)
=> id2entry_w( 4373 )
====> cache_find_entry_dn2id: found id: 4373 rw: 1
<= id2entry_w 0x60648 (cache)
=> id2children_remove( 4373, 17159 )
=> ldbm_cache_open( "/usr/local/openldap/var/db/id2children.gdbm", 2, 600 )
<= ldbm_cache_open (cache 4)
<= id2children_remove -1 (idl_insert)
send_ldap_result 1::
====> cache_return_entry_w
====> cache_return_entry_w
do_unbind
ber_get_next on fd 5 failed errno 0 (Error 0)
*** got 0 of 0 so far


Any idea ?  Thanks a lot!

ST