Hacky fork from osixia/openldap (In theory this is adding some ActiveDirectory like constructs, but it's probably wrong :-p )