summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a59ad40)
raw | patch | inline | side by side (parent: a59ad40)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 16 May 2008 13:45:15 +0000 (13:45 +0000) | ||
committer | hickert <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
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 | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationStartup.inc
index d9a93a41bb76fc731d1e124a4a3dd99407da10f4..2bbf2faeeb806d0e0005bc59487b140850685ba4 100644 (file)
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 */