From: hickert Date: Tue, 4 Dec 2007 07:20:06 +0000 (+0000) Subject: Updated command execution X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=3133ea5d8c50cbe3b5c2246306b388029a6c4b3e;p=gosa.git Updated command execution git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7988 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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); }