summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: daa222c)
raw | patch | inline | side by side (parent: daa222c)
author | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 10 Sep 2008 14:21:08 +0000 (14:21 +0000) | ||
committer | janw <janw@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 10 Sep 2008 14:21:08 +0000 (14:21 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12401 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/server/events/gosaTriggered.pm | patch | blob | history |
index d3d7ce930600e349f85527ef8bd4632f9bc835a2..faf3915e4e1b223371a2ee35bbf76d7e49084370 100644 (file)
$ogroup_entry= $ldap_mesg->pop_entry();
} elsif ($ldap_mesg->count == 0) {
&main::daemon_log("ERROR: A GosaGroupOfNames with cn '$ogroup' was not found in base '".$main::ldap_base."'!", 1);
+ $main::job_db->exec_statement("UPDATE ".$main::job_queue_tn." SET status = 'waiting' WHERE id = $jobdb_id");
+ $main::job_db->exec_statement("UPDATE ".$main::job_queue_tn." SET timestamp = '".&get_time(10)."' WHERE id = $jobdb_id");
+ return undef;
} else {
&main::daemon_log("ERROR: More than one ObjectGroups with cn '$ogroup' was found in base '".$main::ldap_base."'!", 1);
+ $main::job_db->exec_statement("UPDATE ".$main::job_queue_tn." SET status = 'waiting' WHERE id = $jobdb_id");
+ $main::job_db->exec_statement("UPDATE ".$main::job_queue_tn." SET timestamp = '".&get_time(10)."' WHERE id = $jobdb_id");
+ return undef;
}
# build the base, use optional base parameter or take it from ogroup