From: cajus Date: Tue, 27 Nov 2007 14:46:00 +0000 (+0000) Subject: Fixed base hook to use unencoded dn's X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=14d334020ff6c2df72905abf3b9601963dc18c12;p=gosa.git Fixed base hook to use unencoded dn's git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7916 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/include/functions.inc b/include/functions.inc index f91515c26..8899b7d0b 100644 --- a/include/functions.inc +++ b/include/functions.inc @@ -2144,7 +2144,7 @@ function get_base_from_hook($dn, $attrib) $command= $config->current['BASE_HOOK']; if ($command != ""){ - $command.= " '$dn' $attrib"; + $command.= " '".LDAP::fix($dn)."' $attrib"; if (check_command($command)){ @DEBUG (DEBUG_SHELL, __LINE__, __FUNCTION__, __FILE__, $command, "Execute"); exec($command, $output);