Can somebody take a look at this issue.
Note that the issue here is with close() being called from ldap_unbind_s with fd = (-1).
Please read the first line in my original bug description email as:
This is a consulation bug for clarification on close() being called from ldap_unbind_s with fd = -1.