summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c734a5a)
raw | patch | inline | side by side (parent: c734a5a)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 Mar 2008 12:20:55 +0000 (12:20 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 26 Mar 2008 12:20:55 +0000 (12:20 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9992 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/modules/SIPackages.pm | patch | blob | history | |
gosa-si/server/events/gosaTriggered.pm | patch | blob | history | |
gosa-si/server/events/siTriggered.pm | patch | blob | history |
index 265b72416811b3e02254709ee2649e8b73710a31..4f7bd8611dedec2cd1dae64768424fa369a409f7 100644 (file)
# check hit
my $hit_counter = keys %{$res};
if( not $hit_counter == 1 ) {
- &main::daemon_log("ERROR: more or no hit found in known_clients_db by query by '$address'", 1);
+ &main::daemon_log("$session_id ERROR: more or no hit found in known_clients_db by query by '$address'", 1);
}
my $macaddress = $res->{1}->{macaddress};
my $hostkey = $res->{1}->{hostkey};
if (not defined $macaddress) {
- &main::daemon_log("ERROR: no mac address found for client $address", 1);
+ &main::daemon_log("$session_id ERROR: no mac address found for client $address", 1);
return;
}
# Build LDAP connection
my $ldap_handle = &main::get_ldap_handle($session_id);
if( not defined $ldap_handle ) {
- &main::daemon_log("ERROR: cannot connect to ldap: $ldap_uri", 1);
+ &main::daemon_log("$session_id ERROR: cannot connect to ldap: $ldap_uri", 1);
return;
}
index b95f0d5c955a6693266fbe95938cedb57da61b7e..30f9464243534e05a2f606df350a7e6f093cacf5 100644 (file)
# error handling
if( not @user_list && not @group_list ) {
- &main::daemon_log("WARNING: no user-tag or a group-tag specified in 'send_user_msg'", 3);
+ &main::daemon_log("$session_id WARNING: no user-tag or a group-tag specified in 'send_user_msg'", 3);
return ("<xml><header>$header</header><source>GOSA</source><target>GOSA</target>".
"<error_string>no user-tag or a group-tag specified in 'send_user_msg'</error_string></xml>");
}
if( not defined $message ) {
- &main::daemon_log("WARNING: no message-tag specified in 'send_user_msg'", 3);
+ &main::daemon_log("$session_id WARNING: no message-tag specified in 'send_user_msg'", 3);
return ("<xml><header>$header</header><source>GOSA</source><target>GOSA</target>".
"<error_string>no message-tag specified in 'send_user_msg'</error_string></xml>");
if( @group_list ) {
# build ldap connection
if( not defined $ldap_handle ) {
- &main::daemon_log("ERROR: cannot connect to ldap", 1);
+ &main::daemon_log("$session_id ERROR: cannot connect to ldap", 1);
return ();
}
foreach my $group (@group_list) {
index 104cd8f1fbf1d9f9e1299c96f45ceba2b5488e80..9050d554bc75fec9d00512a64dd3db4805c9f98b 100644 (file)
# check hit
my $hit_counter = keys %{$res};
if( not $hit_counter == 1 ) {
- &main::daemon_log("ERROR: more or no hit found in known_clients_db by query by '$address'", 1);
+ &main::daemon_log("$session_id ERROR: more or no hit found in known_clients_db by query by '$address'", 1);
return;
}
my $hostkey = $res->{1}->{hostkey};
if (not defined $macaddress) {
- &main::daemon_log("ERROR: no mac address found for client $address", 1);
+ &main::daemon_log("$session_id ERROR: no mac address found for client $address", 1);
return;
}
# Build LDAP connection
my $ldap_handle = &main::get_ldap_handle($session_id);
if( not defined $ldap_handle ) {
- &main::daemon_log("ERROR: cannot connect to ldap: $ldap_uri", 1);
+ &main::daemon_log("$session_id ERROR: cannot connect to ldap: $ldap_uri", 1)
return;
}