Skip to content
  • Kurt Zeilenga's avatar
    Preliminary Fixes for ITS#24, ITS#26, and ldbm_back_add race condition. · 64cd7d33
    Kurt Zeilenga authored
    Resolved deadlock by passing target entry to be_group and using
    this if dn same as bdn.  It might actually be safer to check
    entry ids instead of dns.
    Resolved bogus add to cache after failed acl check by deferring
    cache add until after parent/acl checks have successful been
    completed.
    Eliminated race condition caused by concurrent adds
    of same dn by adding 'li_add_mutex' around the critical section
    of code (most of ldbm_back_add).
    This code is preliminary and still needs significant testing.
    64cd7d33