From 4aac7a350cda01e93c39ca7a1e02b245352901cd Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 30 Apr 2008 12:09:11 +0000 Subject: [PATCH] Updated error handling for krb class git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10744 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../systems/services/kerberos/class_password-methods-MIT.inc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gosa-plugins/heimdal/admin/systems/services/kerberos/class_password-methods-MIT.inc b/gosa-plugins/heimdal/admin/systems/services/kerberos/class_password-methods-MIT.inc index dda6b4b45..d46e4e3b1 100644 --- a/gosa-plugins/heimdal/admin/systems/services/kerberos/class_password-methods-MIT.inc +++ b/gosa-plugins/heimdal/admin/systems/services/kerberos/class_password-methods-MIT.inc @@ -287,7 +287,6 @@ class passwordMethodMIT extends passwordMethod */ function is_available() { - return(TRUE); $o = new gosaSupportDaemon(FALSE); if(count($this->server_list) && $o->connect()){ return TRUE; @@ -452,6 +451,10 @@ class passwordMethodMIT extends passwordMethod Here we hanlde those requests. */ if(isset($_POST['retry_si'])){ + $this->si_error= FALSE; + $this->si_error_msg= ""; + session::un_set("MIT_PRINCIPAL_CACHE"); + session::un_set("MIT_POLICY_CACHE"); $this->__construct($this->config,$this->parent_dn); } -- 2.30.2