summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f28c5b3)
raw | patch | inline | side by side (parent: f28c5b3)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 14 Feb 2008 12:26:21 +0000 (12:26 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 14 Feb 2008 12:26:21 +0000 (12:26 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8904 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/modules/SIPackages.pm | patch | blob | history |
index f8c56e6bf88b4517a087db15677ec31ee466807b..2dc40fffcda9cd991d534338e31ae4afe8e65098 100644 (file)
@servers= sort (@servers);
foreach $server (@servers){
+ # Conversation for backward compatibility
+ if ($server !=~ /^ldap[^:]+:\/\// ) {
+ if ($server =~ /^([^:]+):(.*)$/ ) {
+ $server= "1:dummy:ldap://$1/$2";
+ }
+ }
+
$base= $server;
$server =~ s%^[^:]+:[^:]+:(ldap.*://[^/]+)/.*$%$1%;
$base =~ s%^[^:]+:[^:]+:ldap.*://[^/]+/(.*)$%$1%;