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

(ITS#5293) ldapdelete issue



Full_Name: Chitra Venkatramani
Version: 2.3.27
OS: Redhat
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (162.83.178.28)


I added a set of entries to the LDAP server, with sub directories, such as -- 

dn: cn=aa,ou=chitrav,o=ibm.com
dn: ou=bb,ou=chitrav,o=ibm.com
dn: cn=bb1,ou=bb,ou=chitrav,o=ibm.com
dn: ou=cc,ou=bb,ou=chitrav,o=ibm.com
dn: cn=cc1,ou=cc,ou=bb,ou=chitrav,o=ibm.com

when I tried to do an ldapdelete command with -r option, I get the following
error for every entry in the server, although all the entries do get deleted. 

ldap_search: Server is unwilling to perform (53)
        additional info: critical control unavailable in context

On looking at the ldapdelete.c source code, lines 390 and 391 say
 c.ldctl_oid = LDAP_CONTROL_SUBENTRIES;
 c.ldctl_iscritical = 1;

Marking the iscritical flag to 0, makes the error go away. 

I am not sure what this control does. This seems like a bug though. 
If so, please let me know what the fix should be, and in which release it will
be available.
Please let me know if you need any more information.
thanks
-Chitra