From eecf790896b5b8ba89fbbbb4862c9caeba58f375 Mon Sep 17 00:00:00 2001 From: janw Date: Tue, 11 Mar 2008 13:43:01 +0000 Subject: [PATCH] And (hopefully) the last fix for case sensitive compare of mac addresses. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9678 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-si/gosa-si-server | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server index 1aa51726c..c771064d2 100755 --- a/gosa-si/gosa-si-server +++ b/gosa-si/gosa-si-server @@ -1172,7 +1172,7 @@ sub watch_for_new_jobs { my $job_msg = $hit->{'xmlmessage'}; daemon_log("DEBUG: its time to execute $job_msg", 7); my $header = $hit->{'headertag'}; - my $sql_statement = "SELECT * FROM known_clients WHERE macaddress='$macaddress'"; + my $sql_statement = "SELECT * FROM known_clients WHERE macaddress LIKE '$macaddress'"; my $res_hash = $known_clients_db->select_dbentry( $sql_statement ); # expect macaddress is unique!!!!!! my $target = $res_hash->{1}->{hostname}; -- 2.30.2