Forked to work with OpenLDAP