summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 04ee566)
raw | patch | inline | side by side (parent: 04ee566)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 17 Aug 2009 14:22:31 +0000 (14:22 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 17 Aug 2009 14:22:31 +0000 (14:22 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14078 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_ldap.inc | patch | blob | history | |
gosa-core/include/class_plugin.inc | patch | blob | history |
index faa963ae6c8a63657a849e2de14a447a4e64414c..f3baf144d8905d58dbe1322c9460fac2f860562e 100644 (file)
requests. I.e. member=.... */
static function prepare4filter($dn)
{
- $str = normalizeLdap(str_replace('\\\\', '\\\\\\', LDAP::fix($dn)));
- /* Special-case '\,' for filters */
- $str = str_replace('\\,', '\\5C2C', $str);
- return $str;
+ return normalizeLdap(str_replace('\\\\', '\\\\\\', LDAP::fix($dn)));
}
index 696ce9c9e424c92ffc1b9f0ae07bf6025e60b556..f58df50bc33d19a46ec9aa802fbeb7934a3d6f22 100644 (file)
if($o_ogroup == NULL){
$o_ogroup = new ogroup($this->config,$ogroup['dn']);
}
- /* Members are stored with their converted names, so convert $c_mem as well
- to have it match in case of special characters in its name. */
- unset($o_ogroup->member[LDAP::convert($c_mem)]);
+ unset($o_ogroup->member[$c_mem]);
$o_ogroup->member[$d_mem]= $d_mem;
}
}