begin_critical_section(S_LDAP);
i = ldap_add_s(dirserver, dn, mods);
end_critical_section(S_LDAP);
/* ignore the error -- it's ok if it already exists
if (i != LDAP_SUCCESS) {
begin_critical_section(S_LDAP);
i = ldap_add_s(dirserver, dn, mods);
end_critical_section(S_LDAP);
/* ignore the error -- it's ok if it already exists
if (i != LDAP_SUCCESS) {