From 3133ea5d8c50cbe3b5c2246306b388029a6c4b3e Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 4 Dec 2007 07:20:06 +0000 Subject: [PATCH] Updated command execution git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7988 594d385d-05f5-0310-b6e9-bd551577e9d8 --- include/class_password-methods-heimdal.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/class_password-methods-heimdal.inc b/include/class_password-methods-heimdal.inc index a41b5322b..cd4a317c7 100644 --- a/include/class_password-methods-heimdal.inc +++ b/include/class_password-methods-heimdal.inc @@ -168,7 +168,7 @@ class passwordMethodheimdal extends passwordMethod /* Execute command and check return value */ $cmd = $cmd." '".$this->generate_hash($password)."' '".$password."'" ; - passthru($cmd,$res); + exec($cmd,$out,$res); if($res != 0){ new msg_dialog(_("Heimdal"),sprintf(_("The configured HEIMDAL_KEYGEN '%s' wasn't successfully executed. Command does not return 0."),$cmdd),WARNING_DIALOG); } -- 2.30.2