rest: fix inheritance for ldap_map