Forum Discussion
David_20479
Jan 23, 2012Nimbostratus
REGEX syntax for APM NTLM Auth
Looking for REGEX syntax assistance with my APM policy.
need to change user@domain.com to domain\user
something like:
session.user = expr { [regsub\(.*\)@\(.*\)/\2\\\1} [m...
hooleylist
Jan 24, 2012Cirrostratus
Hi David,
Can you one of these?
Prepend a static domain to the username
[concat "DOMAIN\\[mcget {session.logon.last.username}]" ]
Or:
Translate from user@domain to domain\user
[regsub -all {(.*)@(.*)} [mcget {session.logon.last.username}] {\2\\\1}]
Aaron
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