summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 7083369)
raw | patch | inline | side by side (parent: 7083369)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 14 Mar 2008 11:10:24 +0000 (11:10 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Fri, 14 Mar 2008 11:10:24 +0000 (11:10 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9830 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/server/events/clMessages.pm | patch | blob | history |
index 3415ea14c0ea083d55d05a5003e84c7c9adb4823..24ab6682902cbbc8a3b8c605beb78b06499c7922 100644 (file)
my $source = @{$msg_hash->{'source'}}[0];
my $login = @{$msg_hash->{$header}}[0];
+ if(ref $login eq "HASH") {
+ &main::daemon_log("$session_id INFO: no logged in users reported from host '$source'", 5);
+ return;
+ }
+
# fetch all user currently assigned to the client at login_users_db
my %currently_logged_in_user = ();
$sql_statement = "SELECT * FROM $main::login_users_tn WHERE client='$source'";
}
&main::daemon_log("$session_id DEBUG: logged in users from login_user_db: ".join(", ", keys(%currently_logged_in_user)), 7);
- #
+ # update all reported users in login_user_db
my @logged_in_user = split(/\s+/, $login);
&main::daemon_log("$session_id DEBUG: logged in users reported from client: ".join(", ", @logged_in_user), 7);
foreach my $user (@logged_in_user) {