stephan: devel/kolab Kolab.pm,1.1.1.1,1.2

cvs at intevation.de cvs at intevation.de
Tue May 11 12:05:06 CEST 2004


Author: stephan

Update of /kolabrepository/devel/kolab
In directory doto:/tmp/cvs-serv16008

Modified Files:
	Kolab.pm 
Log Message:
Conf.pm now handles non-existant original config files gracefully.
Conf.pm template <-> config logic improved, should now handle any change
Conf.pm should not produce unnecesarry warnings with kolabconf anymore.


Index: Kolab.pm
===================================================================
RCS file: /kolabrepository/devel/kolab/Kolab.pm,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- Kolab.pm	3 May 2004 14:04:04 -0000	1.1.1.1
+++ Kolab.pm	11 May 2004 10:05:04 -0000	1.2
@@ -103,7 +103,7 @@
     # Make sure the critical variables we need were defined in kolab.conf
     if (!exists $config{'bind_dn'} || !exists $config{'bind_pw'} || !exists $config{'ldap_uri'} || !exists $config{'base_dn'}) {
         &log('C', "One or more required configuration variables (`bind_dn', `bind_pw', `ldap_uri' and/or `base_dn') are missing in `kolab.conf'", KOLAB_ERROR);
-#        exit(1);
+        exit(1);
     }
 
     # Retrieve the LDAP values of the main kolab object to complete our config hash





More information about the commits mailing list