https://fedorahosted.org/389/ticket/48939
https://fedorahosted.org/389/attachment/ticket/48939/0001-Ticket-48939-ns...
Description: Thanks to tbordaz(a)redhat.com for suggesting to reset the
working dir in the error cases. I've added more error checks and
resetting the nsslapd-workingdir values.