get_domain
de = get_domain(ld, msg, &domain);
static directory_error_t get_domain(LDAP *ld, LDAPMessage *ldapres,