The problem is the same as described at: http://www.openldap.org/its/index.cgi/Software%20Bugs?id=3192 and the patch described there fixed the problem. Reproducible: Always Steps to Reproduce: 1.use ldapsearch to query an active directory server via SSL (ldaps://) 2. 3. Actual Results: ldapsearch hangs (calling select) when it gets to the ldap_int_select function. Expected Results: It should have finished! Attached patch fixes problem.
Created attachment 41538 [details, diff] Patch to fix the problem Drop it into the files/openldap directory and add the appropriate line to patch it on the ebuild script (tested on 2.1.30-r2)
in cvs now.