Forum Discussion
John_Masgalas_4
Nimbostratus
Jan 30, 2009iRule modification - rdp
I currently use the below iRule with our Terminal Services pool. It strips everything after the "@" in the username so that the persistence entry is only the username. I would like to modify it so tha...
John_Masgalas_4
Nimbostratus
Feb 02, 2009here is whats in the ltm log:
Feb 2 13:36:29 tmm tmm[31729]: Rule sso_username : Contents after binary scan: Cookie: mstshash=jmasgalas
Feb 2 13:41:20 tmm tmm[31729]: Rule sso_username : Contents after binary scan: Cookie: mstshash=jmasgalas@Summithealth.local
Feb 2 13:41:20 tmm tmm[31729]: Rule sso_username : Data Persisting on: jmasgalas
Feb 2 14:23:09 tmm tmm[31729]: Rule sso_username : Contents after binary scan: Cookie: mstshash=CHBGHOSP\
Feb 2 14:23:33 tmm tmm[31729]: Rule sso_username : Contents after binary scan: Cookie: mstshash=danaip@Summithealth.local
Feb 2 14:23:33 tmm tmm[31729]: Rule sso_username : Data Persisting on: danaip
See how one of the entries stroes only chbghosp\. I want to strip that part so that we can get the username instead of the domain. Another issue we are having is that it persists usernames stripped of @summithealth.local as seperate entries than usernames entered with just the username. For example, if I log into a 2X thin client I am logged in as jmasgalas@summithealth.local. The iRule srtips it down to jmasgalas and created a persistence table entry. I then rdp to the VIP from my desktop which sends the username as jmasgalas. The F5 is creating two different persistence table entries names jmasgalas. If you need it I can send you the contents of the persistence table.
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