I was reviewing a rule someone wrote, and it got me thinking.

Can anyone think of an easy/elegant way to do a for-each loop over all
attributes in an Aux class (or structural class or whatever).

I suppose I could read back cn=schema via LDAP over ECMA, but that seems
a little less elegant.

I know I could read back the filter objects XML and loop through that to
get all the attributes it defines.

I know I could do the same with the Schema Map, heck here is an example
of how to do that:

But an Aux class is not explicitly defined in either Schema Map nor the

Am I forgetting something that could do this for me?

(Hmm, Query token, for a DN, cn=schema... heheh That would be neat!)