Forum Discussion
mburnham_59608
Nimbostratus
Nov 22, 2011Alter username before Radius auth
Hi all,
Using APM, I would like to append a realm to a username before sending to Radius for authentication.
So, the user would login with 'bob' and the Radius server would get, for example,
I've tried adding a variable assign between the logon page and the auth server. Using session.logon.last.username doesn't work.
I can obviously do this with an iRule by modifying the payload, but wondering if there's anything simpler?
Thanks much in advance,
Mark
2 Replies
- jwham20
Nimbostratus
Mark,
I was poking around seeing if I could find an option to set a default auth domain. Nothing as of yet. It seems like in this case, an iRule might be the best (possibly currently only) option. I am going to keep searching to see if there is an option I'm missing.
(side note: good idea!)
--
Josh - David_20479
Nimbostratus
I am trying to do somehting similar.
I want to change user@domain.com to domain\user
Looking for REGEX syntax assistance with my APM policy.
Something like:
session.user = expr { [regsub\(.*\)@\(.*\)/\2\\\1} [mcget {session.logon.last.username}] ""] }
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
