summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 65ed56b)
raw | patch | inline | side by side (parent: 65ed56b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 21 Sep 2010 09:32:23 +0000 (09:32 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 21 Sep 2010 09:32:23 +0000 (09:32 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19783 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/include/class_ldap.inc | patch | blob | history | |
gosa-core/include/functions.inc | patch | blob | history |
index 937a33855b714ad8b40d0b7efeda429d68c731ce..ce237a6ac28a37cabbf6e06e5a75eadd28b077d1 100644 (file)
LDAP::$characterMapRegFrom = array();
LDAP::$characterMapRegTo = array();
foreach(LDAP::$characterMap as $from => $to){
+ $from = LDAP::convert($from);
LDAP::$characterMapRegFrom[] = "/{$from}/";
LDAP::$characterMapRegTo[] = addslashes($to);
}
index 1b707a6ca01945ac443c5a79d38be109323ff592..6b1ad16a8a25dbde9561f6ce399a7f65531020a7 100644 (file)
// Create a mapping out of the results.
$map = array();
foreach($mapName as $key => $entry){
- $map[LDAP::convert("{$entry}")] = $mapDN[$key];
+ $map[$entry] = $mapDN[$key];
}
return($map);
}