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

(ITS#6686) VLV overlay fails to handle multiple search operations per LDAP connection

Full_Name: Sebastien Bahloul
Version: HEAD
OS: Linux RHEL 5
Submission from: (NULL) (


I think there is a bug / limitation inside VLV implementation : it can not
handle multiple search operation on a single connection. The first operation
succeeds and next operations fail with the following message :

LDAP: error code 51 - Other sort requests already in progress

My first guess was to remove / comment the following condition in sssvlv.c:757

vc->vc_context != so->so_vcontext

But I think this issue is more global. This implementation seems to be able to
only handle a single VLV context per connection. 

If I am right, this is related with the indexing method of sort_conns structure
which seems to be based only on the connection id. I suggest to implement a
double indexing array by connection id / VLV context id.