Ticket #47570 - slapi_ldap_init unusable during independent plugin development
Description:
RFE: making slapi_ldap_init callable without snmp_collator_init.
The api slapi_ldap_init calls set_snmp_interaction_row, in which
interaction_table_mutex is held. This patch replaces NSPR PR_(Un)Lock with
slapi_(un)lock_mutex. The slapi_(un)lock_mutex skips locking if the mutex
is not initialized.
https://fedorahosted.org/389/ticket/47570
Reviewed by rmeggins@redhat.com (Thank you, Rich!!)