From 14d334020ff6c2df72905abf3b9601963dc18c12 Mon Sep 17 00:00:00 2001 From: cajus Date: Tue, 27 Nov 2007 14:46:00 +0000 Subject: [PATCH] Fixed base hook to use unencoded dn's git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7916 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/functions.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.30.2