Code

Fixed problem with decoding.
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Nov 2007 14:41:04 +0000 (14:41 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 27 Nov 2007 14:41:04 +0000 (14:41 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.5@7915 594d385d-05f5-0310-b6e9-bd551577e9d8

include/functions.inc

index dab51ac86293bab88091b538684027e73d23b5a0..216d04149622acf0d9f3d91c8af0d0bda9908378 100644 (file)
@@ -2309,7 +2309,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);