Thanks for the hints! I'm going down for weekend now! ;) So will see how far your hints will bring me next week...Having the function, that if a user is member of a special LDAP group, the group name should be returned in the RADIUS response of privacyIDEA would be great. That would keep the configuration of the Radius-Server very simple and the admin would have all the configuration in one place. It doesn't have to be the exact group name for me. A function "if user is member of group XY, return radius vendor specific code nmopq with value bla" would be good for me.