Code

Updated workstation startup
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 16 May 2008 13:45:15 +0000 (13:45 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 16 May 2008 13:45:15 +0000 (13:45 +0000)
-Don't break ldaps:// entries in ldap server select box

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10936 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc

index d9a93a41bb76fc731d1e124a4a3dd99407da10f4..2bbf2faeeb806d0e0005bc59487b140850685ba4 100644 (file)
@@ -586,7 +586,7 @@ class workstartup extends plugin
       if(!in_array($entry,$this->gotoLdapServers)){
 
         /* Convert old style entry */
-        if (!preg_match('%:ldap://%', $entry)){
+        if (!preg_match('%:ldap[s]*://%', $entry)){
           $entry= "ldap://".preg_replace('/^([^:]+):/', '\1/', $entry);
 
         /* Beautify new style entries */