summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 57a6a1b)
raw | patch | inline | side by side (parent: 57a6a1b)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 25 Apr 2008 08:13:47 +0000 (08:13 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 25 Apr 2008 08:13:47 +0000 (08:13 +0000) |
-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
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10681 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-plugins/heimdal/admin/systems/services/kerberos/class_password-methods-heimdal.inc | patch | blob | history |
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 a6505b00ffc9194fd87db080b3ecb37d9fbba61f..e76bd986805a5c96fed02f366a48127a08385ba0 100644 (file)
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'];