Forum Discussion
Kai_M__48813
Cirrus
Sep 27, 2017creating custom variable
hi,
i have created a custom variable to be used for an AD query, to find groupmembership. This is for deploying activesync. AD Auth is working just fine, but im struggling to populate the sAMacc...
Stanislas_Piro2
Cumulonimbus
Sep 27, 2017Hi,
When working with Exchange, I always enable "split domain from username" check box in logon page. after that, 3 variables are created when user authentication with domain\username:
- session.logon.last.username : username
- session.logon.last.domain : domain
- session.logon.last.logonname : domain\username
then I create an AD query with filter :
(|(sAMAccountName=%{session.logon.last.username})(UserPrincipalName=%{session.logon.last.logonname})(mail=%{session.logon.last.logonname}))
and assign username from smaccounrname before AD Auth
session.logon.last.username = mcget {session.ad.last.attr.sAMAccountName}
to support multiple tries, insert all these boxes (from logon page to AD Auth) in a macro with loop count 3 and change AD Auth reties to 1.
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
