From e4130b459516525028d0949d652729e20c1f3c58 Mon Sep 17 00:00:00 2001 From: hickert Date: Fri, 25 Apr 2008 08:13:47 +0000 Subject: [PATCH] Updated password method heimdal -Skip the ldap based heimdal password method, if the SI based MIT method is available and we have running SI kerberos setup git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10681 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../services/kerberos/class_password-methods-heimdal.inc | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/gosa-plugins/heimdal/admin/systems/services/kerberos/class_password-methods-heimdal.inc b/gosa-plugins/heimdal/admin/systems/services/kerberos/class_password-methods-heimdal.inc index a6505b00f..e76bd9868 100644 --- a/gosa-plugins/heimdal/admin/systems/services/kerberos/class_password-methods-heimdal.inc +++ b/gosa-plugins/heimdal/admin/systems/services/kerberos/class_password-methods-heimdal.inc @@ -110,6 +110,14 @@ class passwordMethodheimdal extends passwordMethod function is_available() { global $config; + + /* If we have a running SI-Server which support kerberos support + skip this ldap based method. + */ + if(class_available("passwordMethodMIT") && passwordMethodMIT::is_available()){ + return(FALSE); + } + $cmd = ""; if(isset($config->current['HEIMDAL_KEYGEN'])){ $cmd = $config->current['HEIMDAL_KEYGEN']; -- 2.30.2