def _subs(value):
    """Return a list of subclass strings.

    The strings represent the ldap objectclass plus any subclasses that
    inherit from it. Fakeldap doesn't know about the ldap object structure,
    so subclasses need to be defined manually in the dictionary below.

    """
    subs = {'groupOfNames': ['keystoneProject',
                             'keystoneRole',
                             'keystoneProjectRole']}
    if value in subs:
        return [value] + subs[value]
    return [value]