[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kolab-commits
Subject:    mathieu: server/perl-kolab/lib Kolab.pm,1.25,1.26
From:       cvs () kolab ! org
Date:       2008-11-26 22:25:24
Message-ID: 20081126222524.4ED76600172 () lists ! intevation ! de
[Download RAW message or body]

Author: mathieu

Update of /kolabrepository/server/perl-kolab/lib
In directory doto:/tmp/cvs-serv15585/perl-kolab/lib

Modified Files:
	Kolab.pm 
Log Message:
Check syncrepl_cookie_file while using `syncrepl' directory_mode


Index: Kolab.pm
===================================================================
RCS file: /kolabrepository/server/perl-kolab/lib/Kolab.pm,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -d -r1.25 -r1.26
--- Kolab.pm	10 Oct 2008 14:24:00 -0000	1.25
+++ Kolab.pm	26 Nov 2008 22:25:22 -0000	1.26
@@ -278,6 +278,11 @@
     #     ad: Microsoft Active Directory
     $config{'directory_mode'} = 'slurpd' if (!exists $config{'directory_mode'});
     $config{'directory_replication_mode_is_syncrepl'} = 'TRUE' if \
($config{'directory_mode'} eq 'syncrepl'); +    if (($config{'directory_mode'} eq \
'syncrepl') && !defined $config{'syncrepl_cookie_file'}) { +        &log('C', \
"Configuration variable `syncrepl_cookie_file' is missing ". +            "in \
`kolab.globals' or `kolab.globals' while using `syncrepl' directory_mode", \
KOLAB_ERROR); +	    $error = 1;
+    }
 
     # `conn_refresh_period' specifies how many minutes to wait before forceably
     # tearing down the change listener connection, re-syncing, and re-connecting.


_______________________________________________
Kolab-commits mailing list
Kolab-commits@kolab.org
https://kolab.org/mailman/listinfo/kolab-commits


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic