msDS-TokenGroup attribute is implemented in Samba-AD, but it is not restricted to scope=base. msDS-TokenGroup attribute calculation can be cpu intensive, so on Microsoft AD, in order to avoid DoS querying this attribute is required to have scope=base such LDAP query (and refuses to answer if scope=sub). Samba-AD should behave the same and refuse to answer the LDAP query if scope!=base.