[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: ldap_delete_s() & referral (ITS#471)
>From looking at re_encode_request in libldap/request.c,
it doesn't interpret the ber encoded request correctly
for a delete request. It assumes that all requests are formatted
as: message_id, request identifier, Sequence, ...
The delete request does not have a sequence in it. It just has the
dn to be deleted.
Looking at the protocol, most requests have a sequence with the
exception of Delete, Unbind, and Abandon.
> Full_Name: Lev Walkin
> Version: 1.2.9-Release
> OS: FreeBSD 3.1-3.3
> URL:
> Submission from: (NULL) (62.76.34.36)
>
>
> ldap_delete_s() does nothing and returns with zero exit code (LDAP_NOERROR)
> if request was redirected to another LDAP server using the referral technique.
>
> I've found this bug on ldap-3.3 (U-M), but it is still present in
> OpenLDAP-1.2.9-Release. ldap_delete_s() works pretty well if I go to the remote
> server directly (using ldap_open()). All permission are OK,
> ldap_set_rebind_proc()
> used to set a rebind procedure. But ldap_delete_s() does not delete the object
> AND return 0. It is very important for our present LDAP servers scheme, could
> anyone give an answer?
>