Code

Added LDAP_URIS to ldap-shell.conf
authorcajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 Mar 2008 08:39:09 +0000 (08:39 +0000)
committercajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 27 Mar 2008 08:39:09 +0000 (08:39 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10010 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-si/client/events/corefunctions.pm
gosa-si/gosa-si-client

index 2cc248857a1e1f35c4982c5fc42fd68adaaf390c..e85729232a016fd53392128f7a133c0c2411f7e7 100644 (file)
@@ -294,6 +294,7 @@ print STDERR Dumper(PerlIO::get_layers(file1, output => 1));
     open(file1, "> $cfg_name");
     print file1 "LDAP_BASE=\"$ldap_base\"\n";
     print file1 "LDAP_SERVER=\"$ldap_server\"\n";
+    print file1 "LDAP_URIS=\"@ldap_uris\"\n";
     print file1 "ADMIN_BASE=\"$admin_base\"\n";
     print file1 "DEPARTMENT=\"$department\"\n";
     print file1 "RELEASE=\"$release\"\n";
index ab3b14ba480c178f141449ef06402dedf0fb5e87..0f01caa220e8261d517b2e8fca341a7f070164f7 100755 (executable)
@@ -958,7 +958,7 @@ sub trigger_logged_in_users_report {
                my @logged_in_user_list;
                if( defined $result ) {
                        chomp($result);
-                       @logged_in_user_list = split("\s", $result);
+                       @logged_in_user_list = split(/\s/, $result);
                }
                
 #        my @res_lines;