summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 418f050)
raw | patch | inline | side by side (parent: 418f050)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 27 Feb 2008 14:40:43 +0000 (14:40 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 27 Feb 2008 14:40:43 +0000 (14:40 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9176 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/modules/SIPackages.pm | patch | blob | history |
index d04c2e527ecb9be9f00a062b6ee4d2d958380574..c0df9964092dbf3f2e28fab14fcc377733d287e6 100644 (file)
foreach $server (@servers){
# Conversation for backward compatibility
if (not $server =~ /^\d+:[^:]+:ldap[^:]*:\/\// ) {
- if ($server =~ /^([^:]+):(.*)$/ ) {
+ if ($server =~ /^([^:]+):([^:]+)$/ ) {
$server= "1:dummy:ldap://$1/$2";
}
+ if ($server =~ /^(\d+):([^:]+):(.*)$/ ) {
+ $server= "$1:dummy:ldap://$2/$3";
+ }
}
$base= $server;