Initialize ldap with mdb