mathieu: server/perl-kolab/lib Kolab.pm,1.25,1.26
cvs at kolab.org
cvs at kolab.org
Wed Nov 26 23:25:24 CET 2008
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.
More information about the commits
mailing list