Code

Grumble
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 22 Feb 2008 12:20:33 +0000 (12:20 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 22 Feb 2008 12:20:33 +0000 (12:20 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9068 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/gosa-si-client

index 95f056863805553170924b5fef81eb7219574f78..9ba139c457db811538ebd1c0696bd060e1a5be8f 100755 (executable)
@@ -603,7 +603,7 @@ sub new_ldap_config {
 
     # Get first LDAP server
     my $ldap_server= $ldap_uris[0];
-    $ldap_server=~ s/^ldap:\/\/([^:]+).*$/\1/;
+    $ldap_server=~ s/^ldap:\/\/([^:]+).*$/$1/;
 
     open(file1, "> $cfg_name");
     print file1 "LDAP_BASE=\"$ldap_base\"\n";