summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2292eaa)
raw | patch | inline | side by side (parent: 2292eaa)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 Dec 2007 07:20:06 +0000 (07:20 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 4 Dec 2007 07:20:06 +0000 (07:20 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7988 594d385d-05f5-0310-b6e9-bd551577e9d8
include/class_password-methods-heimdal.inc | patch | blob | history |
diff --git a/include/class_password-methods-heimdal.inc b/include/class_password-methods-heimdal.inc
index a41b5322b11590ab9fcbea2cbbfcabf50821f918..cd4a317c78fc4f1d8a70a6ba4bb992a4e08ef637 100644 (file)
/* 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);
}