summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3f9341f)
raw | patch | inline | side by side (parent: 3f9341f)
author | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 18 Mar 2008 15:58:40 +0000 (15:58 +0000) | ||
committer | rettenbe <rettenbe@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 18 Mar 2008 15:58:40 +0000 (15:58 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@9930 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-si/gosa-si-client | patch | blob | history |
diff --git a/gosa-si/gosa-si-client b/gosa-si/gosa-si-client
index 1aae6effd35bd4c9a02a2290b0db763d38dcb8a8..21a7094c799d41e2c481e205c5060a3eeefcb1c3 100755 (executable)
--- a/gosa-si/gosa-si-client
+++ b/gosa-si/gosa-si-client
# got a msg from gosa-si-server which can not be decrypted, may the secrete not up-to-date
# cause a reregistering with a new secrete handshake
daemon_log("WARNING: Message from gosa-si-server could not be understood, cause reregistering at server", 3);
- $REGISTERED = 0;
- $kernel->post('client_session', 'register_at_gosa_si_server');
+
+ # if client is alread in a registration process, that means not registered, do nothing
+ # if not, cause re-registration
+ if (not $REGISTERED) {
+ &daemon_log("WARNING: gosa-si-client is already in a registration process so ignore this message", 3);
+ } else {
+ $REGISTERED = 0;
+ $kernel->post('client_session', 'register_at_gosa_si_server');
+ }
}
$error++;
}