I'm having trouble in determining what mutex is related to what data in libldap's structures. For example, as far as I understand, lconn_refcnt in LDAPConn is tested and even modified without expressly locking any mutex. Logically, it seems to me that ld_conn_mutex should be the one. Could anybody please confirm this or provide insight? Thanks, p.