Forum Discussion
Prefix domain name to username session variable for outlook web access
my outlook web access requires domain\username. Trying to getting single sign on through F5 portal, but F5 sends username and password. I would like to write and irule or a macro to append a "domain\" to the username before F5 sends it to the exchange.
- Kevin_StewartEmployee
I think it's probably easiest to do it in a variable assignment (this is just one way):
session.logon.last.username = expr { "[mcget {session.logon.last.domain}]\\[mcget {session.logon.last.username}]" }
- Alvin_94738Nimbostratus
Thanks Kevin. I'm fairly new to F5 but I was able to use the information you provided to get OWA single sign on working. Only change I had to make for it to work in my environment was using this session.ad.last.actualdomain. Your help was greatly appreciated.
- Jay_Shankar_SinNimbostratus
Hi Alvin, The same issue i am facing to my APM OWA SSO access, can you please help me here. OWA asking domain/username for login.
Thanks..Jay
- Jay_Shankar_Si1Nimbostratus
Hi All, I've done the domain prefix option through iRule, but please can you help how to do without iRule. How can i add domain name with user i.e. domain\user for OWA SSO.
Thanks Jay
- Jay_Shankar_Si1Nimbostratusirule is the answer. when ACCESS_POLICY_AGENT_EVENT { if {[ACCESS::policy agent_id] == "ADDDOMAIN" } { log local0. "In the Add Domain iRule..." ACCESS::session data set session.logon.last.dusername domainname\\[ACCESS::session data get "session.logon.last.username"] } }
- Jay_Shankar_SinNimbostratus
Hi All, I've done the domain prefix option through iRule, but please can you help how to do without iRule. How can i add domain name with user i.e. domain\user for OWA SSO.
Thanks Jay
- Jay_Shankar_SinNimbostratusirule is the answer. when ACCESS_POLICY_AGENT_EVENT { if {[ACCESS::policy agent_id] == "ADDDOMAIN" } { log local0. "In the Add Domain iRule..." ACCESS::session data set session.logon.last.dusername domainname\\[ACCESS::session data get "session.logon.last.username"] } }
Recent Discussions
Related Content
* 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