Forum Discussion
sam_111661
Nimbostratus
Dec 29, 2008tmm_auth_subscription
I'm following the recommendation on the Wiki regarding the AUTH::subscribe http://devcentral.f5.com/wiki/default.aspx/iRules/AUTH__subscribe.html
It says "Instead of calling AUTH::subscribe directly, we recommend setting tmm_auth_subscription to "*" when using the built-in system auth rules in the interest of forward-compatibility".
My question is, where it is recommended to set this? I have tried to use "when RULE_INIT" but didn't work for me, it works with "when CLIENT_ACCEPTED", any obvious reason why it doesn't work with the RULE_INIT? I have set there many variables that do not change and they work fine
Thanks in advance
2 Replies
- hoolio
Cirrostratus
Hi,
tmm_auth_subscription is a local variable read in the system iRules (found in /config/profile_base.conf). When you set any variable in RULE_INIT, it's created as a global variable. When you set tmm_auth_subscription in any non-RULE_INIT event using set tmm_auth_subscription "*" without the :: in the variable name, it's set as a local variable.
Aaron - sam_111661
Nimbostratus
Thank you very much
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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