APM Cookbook: Modify LDAP Attribute Values using iRulesLX
Published Sep 27, 2016
Version 1.0Was this article helpful?
I am using this to modify AD. Everything works until there is a "comma" in the CN portion of the Distinguished Name. Has anyone encountered this issue? Any suggesitons on a fix?
Works
cn=doe jon, ou=example, dc=com
Fails
cn=doe, jon, ou=example, dc=com
SOLVED.
Added the following escape procedure
proc FixDN dn {
return [regsub -all {\\\,} $dn {\\,}]
}