I have a working setup where gateway uses user@domain to map user to an external profile, which has RADIUS defined as authentication method. After that the RADIUS server performs MFA. The problem is, all users accessing gw have the same external profile and therefore all of them have the same user group, therefore I cannot distinguish the users by e.g. LDAP user group membership and use those group memberships in Access Roles.
I have tried to find a way to perform authentication so that the user authenticates via LDAP account unit - but would perform MFA via RADIUS server after that. That way the LDAP user group membership could be verified and access defined in more granular way.
I noticed there is also a schema extension to LDAP server for fw attributes, but I don't want to do that just for fun since they cannot be removed from the schema if not working. There is an fw1authmethod attribute to define the authentication method in user object and an fw1authserver attribute too, which makes me imagine gateway would read and perform the authentication after LDAP in RADIUS.
My question is: has someone managed to create such configuration somehow?
Either via external user profile or schema extension or some other way?