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

ldapdelete doesn't delete, nor giving any errors...



All,

I'm running a server with following version:

openldap-2.0.11
redhat 7.2

and I've built a small testing-purposes LDAP-tree.  Everythings works out 
smootly, only the deletion of entries, or leaves, seems not possible.  I've checked out the 
archive a little bit, but none of the messages there seems to help me.

My tree looks like:

dc = be
   |
   --->  dc = bayo75

There are no children in this tree, so I didn't suspect any problems.  
However, as the following code shows, ldapdelete doens't seem to be 
willing to fee the allocated memory.  And if I now try to delete 
"dc=bayo75,dc=be", it keeps waiting as can be seen here below...

Any help is welcome,

Raf



[root@x root]# ldapdelete -vxD "dc=be" -W -r -d -1  
ldap_create
Enter LDAP Password: 
ldap_bind_s
ldap_simple_bind_s
ldap_sasl_bind_s
ldap_sasl_bind
ldap_send_initial_request
ldap_new_connection
ldap_int_open_connection
ldap_connect_to_host
ldap_new_socket: 3
ldap_prepare_socket: 3
ldap_connect_to_host: Trying 127.0.0.1:389
ldap_connect_timeout: fd: 3 tm: -1 async: 0
ldap_ndelay_on: 3
ldap_is_sock_ready: 3
ldap_ndelay_off: 3
ldap_int_sasl_open: x.intern.acunia.com
ldap_delayed_open successful, ld_host is (null)
ldap_send_server_request
ber_flush: 19 bytes to sd 3
  0000:  30 11 02 01 01 60 0c 02  01 03 04 05 64 63 3d 62   
0....`......dc=b  
  0010:  65 80 00                                           e..               
ldap_write: want=19, written=19
  0000:  30 11 02 01 01 60 0c 02  01 03 04 05 64 63 3d 62   
0....`......dc=b  
  0010:  65 80 00                                           e..               
ldap_result msgid 1
ldap_chkResponseList for msgid=1, all=1
ldap_chkResponseList returns NULL
wait4msg (infinite timeout), msgid 1
wait4msg continue, msgid 1, all 1
** Connections:
* host: localhost  port: 389  (default)
  refcnt: 2  status: Connected
  last used: Fri Jan  9 13:34:46 2026

** Outstanding Requests:
 * msgid 1,  origid 1, status InProgress
   outstanding referrals 0, parent count 0
** Response Queue:
   Empty
ldap_chkResponseList for msgid=1, all=1
ldap_chkResponseList returns NULL
do_ldap_select
read1msg: msgid 1, all 1
ber_get_next
ldap_read: want=1, got=1
  0000:  30                                                 0                 
ldap_read: want=1, got=1
  0000:  0c                                                 .                 
ldap_read: want=12, got=12
  0000:  02 01 01 61 07 0a 01 00  04 00 04 00               ...a........      
ber_get_next: tag 0x30 len 12 contents:
ber_dump: buf=0x0804e8f0 ptr=0x0804e8f0 end=0x0804e8fc len=12
  0000:  02 01 01 61 07 0a 01 00  04 00 04 00               ...a........      
ldap_read: message type bind msgid 1, original id 1
ber_scanf fmt ({iaa) ber:
ber_dump: buf=0x0804e8f0 ptr=0x0804e8f3 end=0x0804e8fc len=9
  0000:  61 07 0a 01 00 04 00 04  00                        a........         
read1msg:  0 new referrals
read1msg:  mark request completed, id = 1
request 1 done
res_errno: 0, res_error: <>, res_matched: <>
ldap_free_request (origid 1, msgid 1)
ldap_free_connection
ldap_free_connection: refcnt 1
ldap_parse_result
ber_scanf fmt ({iaa) ber:
ber_dump: buf=0x0804e8f0 ptr=0x0804e8f3 end=0x0804e8fc len=9
  0000:  61 07 0a 01 00 04 00 04  00                        a........         
ber_scanf fmt (}) ber:
ber_dump: buf=0x0804e8f0 ptr=0x0804e8fc end=0x0804e8fc len=0

ldap_msgfree





-- 
-------------------------------------------------------------------------
ACUNIA nv                                          raf.meeusen@acunia.com
Philipssite 5 - Floor 3 - Bus 3                  tel: +32 (0) 16 31 00 20
3001 Leuven, Belgium                             fax: +32 (0) 16 31 00 29
http://www.acunia.com                            
--------------------------------------------------------------------------

As a computer, I find your faith in technology amusing