summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 9b94eb8)
raw | patch | inline | side by side (parent: 9b94eb8)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 Mar 2008 13:43:01 +0000 (13:43 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 11 Mar 2008 13:43:01 +0000 (13:43 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9678 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/gosa-si-server | patch | blob | history |
diff --git a/gosa-si/gosa-si-server b/gosa-si/gosa-si-server
index 1aa51726cecf3abeed67bc4a9178263d388207ec..c771064d2ecdf59a8c26dd0d38800305d810a67f 100755 (executable)
--- a/gosa-si/gosa-si-server
+++ b/gosa-si/gosa-si-server
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};