F5 Sites
  • F5.com
  • F5 Labs
  • MyF5
  • NGINX
  • Partner Central
  • Education Services Portal (ESP)
Contact
  • Under Attack?
  • F5 Support
  • DevCentral Support
  • F5 Sales
  • NGINX Sales
  • F5 Professional Services
Skip to contentBrand Logo
Forums
CrowdSRC
Articles
GroupsEventsSuggestionsHow Do I...?
RegisterSign In
  1. DevCentral
  2. CrowdSRC
  3. CodeShare

Sanitize special characters in AD groups names

Problem this snippet solves: With APM, when you query Active Directory to retrieve the groups membership, if an AD group contains one or several special characters, the name of the group is consider...
Published Apr 24, 2017
Version 1.0
active directory
application delivery
BIG-IP Access Policy Manager (APM)
devops
encoding
groups
hex
irule
iRules
michael_molho_2's avatar
michael_molho_2
Icon for Nimbostratus rankNimbostratus
Joined May 05, 2019
View Profile
michael_molho_2's avatar
michael_molho_2
Icon for Nimbostratus rankNimbostratus
Apr 24, 2017

Yes you're right, string map is a faster way. However, this irule will be trigger only during the login phase, so not that often. Performance does not really matter for me here. It was choice I made to give priority to clarity and maintenance over performance in that case.

 

Help guide the future of your DevCentral Community!

What tools do you use to collaborate? (1min - anonymous)

ABOUT DEVCENTRAL

DevCentral NewsTechnical ForumTechnical ArticlesTechnical CrowdSRCCommunity GuidelinesDevCentral EULAGet a Developer Lab LicenseBecome a DevCentral MVP

RESOURCES

Product DocumentationWhite PapersGlossaryCustomer StoriesWebinarsFree Online CoursesTraining & Certification

SUPPORT

Manage SubscriptionsProfessional ServicesCreate a Service RequestSoftware DownloadsSupport Portal

PARTNERS

Find a Reseller PartnerTechnology AlliancesBecome an F5 PartnerLogin to Partner Central

©2026 F5, Inc. All rights reserved.
TrademarksPoliciesPrivacyCalifornia PrivacyDo Not Sell My Personal Information