Forum Discussion
schmuck
Mar 09, 2012Nimbostratus
Case sensitive domain selection
So, while it might be possible to have drop down lists to choose the appropriate domain and subsequent AAA servers to authenticate users I decided to be lazy and just put a domain field into the logon...
hooleylist
Mar 09, 2012Cirrostratus
Hi Chad,
You can set the domain to lowercase:
expr { [string tolower [mcget {session.logon.last.domain}]] contains "contoso"}
As this is a string comparison, it would be slightly more efficient to use eq instead of == as == uses a numeric conversion first and then tries string if that fails.
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