Code

Layout fix
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 21 Feb 2008 10:02:55 +0000 (10:02 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 21 Feb 2008 10:02:55 +0000 (10:02 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9007 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/modules/SIPackages.pm

index c9231d2aae6f531453385fcbf73e36b1b29149d6..4dcc734acfc2f25effb284f5336f91dab3edc903 100644 (file)
@@ -830,12 +830,12 @@ sub new_ldap_config {
        @servers= sort (@servers);
 
        foreach $server (@servers){
-        # Conversation for backward compatibility
-        if ($server !=~ /^ldap[^:]+:\/\// ) {
-            if ($server =~ /^([^:]+):(.*)$/ ) {
-                $server= "1:dummy:ldap://$1/$2";
-            }
-        }
+               # Conversation for backward compatibility
+               if ($server !=~ /^ldap[^:]+:\/\// ) {
+                   if ($server =~ /^([^:]+):(.*)$/ ) {
+                       $server= "1:dummy:ldap://$1/$2";
+                   }
+               }
 
                $base= $server;
                $server =~ s%^[^:]+:[^:]+:(ldap.*://[^/]+)/.*$%$1%;