multitenancy: fixed typo legazyExchangeDN -> legacyExchangeDN
emsmdbp_object: sanity and error checks