I've been working on a project at work to configure FreeRADIUS with Google Authenticator for two-factor authentication purposes.
I've used this guide.
Everything's working well and I've even written scripts to generate and e-mail the QR codes to users but there's one last hurdle I'd like to overcome.
For example:
Say our AD domain is my.domain.com and I authenticate against FreeRADIUS with the username [email protected] everything works fine. The problem is that our RAS solution sometimes doesn't always send the full domain to FreeRADIUS. In the logs I'd see the username as user@my (Pre-2000 domain name). Naturally this fails.
What I'm trying to achieve is to get FreeRADIUS to catch this and replace @my with @my.domain.com .
The other option is to re-configure all the RAS clients and since these are almost all used remote this would be impractical.
I'm sure FreeRADIUS can do it, can someone help me?