28fe160 Ticket 50137 - create should not check in non-stateful mode for exist

Authored and Committed by firstyear 5 years ago
    Ticket 50137 - create should not check in non-stateful mode for exist
    
    Bug Description: In def create, we should do a existance check for an
    entry before creating. However, depending on access control this may not
    work as intended because you can create without sight of the target, and
    then this may cause misleading exceptions preventing the create.
    
    Fix Description: In stateless mode, don't check the existance of the
    entry before create.
    
    In stateful ensure mode, continue to check for the existance.
    
    https://pagure.io/389-ds-base/issue/50137
    
    Author: William Brown <william@blackhats.net.au>
    
    Review by: ???