summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 779012c)
raw | patch | inline | side by side (parent: 779012c)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 11 Feb 2008 16:39:32 +0000 (16:39 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 11 Feb 2008 16:39:32 +0000 (16:39 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@8840 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 456f70a9c8d8b640535bb4db2f64e77847fdcc18..c1f2f1c47aedae5ffb70847e259aadd63deba748 100755 (executable)
--- a/gosa-si/gosa-si-client
+++ b/gosa-si/gosa-si-client
our $server_key;
# default variables
-our $REGISTERED_FLAG = 1;
+our $REGISTERED = 0;
%cfg_defaults = (
"general" =>
sub register_at_gosa_si_server {
my ($kernel) = $_[KERNEL];
- if( $REGISTERED_FLAG == 1 ) {
+ if( $REGISTERED ) {
# create new passwd and ciphering object for client-server communication
$server_key = &create_passwd();
# preprocessing
if( $answer =~ "<header>registered</header>") {
# set registered flag to true to stop sending further registered msgs
- $REGISTERED_FLAG = 0;
+ $REGISTERED = 1;
}
else {
&send_msg_to_target($answer, $server_address, $server_key);