index d517efd5bd5465425a3c7acc09b1f00a8c740f60..75690a7f5d7e04ddc91a73eb1ad7bf6363aac3e6 100644 (file)
/* Walk through all objectGroups and check if there are
members matching the source dn
*/
- $src_dn=str_replace('\\,', '\\2C', LDAP::fix($src_dn));
+ if ($this->config->comma_escape_style == "comma" ||
+ $this->config->comma_escape_style == "unknown") {
+ $src_dn=LDAP::fix($src_dn);
+ } else {
+ $src_dn=str_replace('\\,', '\\2C', LDAP::fix($src_dn));
+ }
foreach($ogroups as $ogroup){
if(isset($ogroup['member'])){