[Kolab-devel] OpenLDAP Port

Michael Gale michaelg at xandros.com
Tue Mar 29 18:01:44 CEST 2005


I would like to change the default LDAP communication port in Kolab. I 
found 26 unique occurrences for the default port: 389.  It's used at 
least once in the following files:

/kolab/etc/rc.d/rc.openldap
/kolabetc/sasl/saslauthd.conf
/kolabetc/imapd/imapd.conf
/kolabetc/kolab/kolab_bootstrap
/kolabetc/kolab/kolab.globals
/kolabetc/kolab/kolab.conf
/kolabetc/kolab/templates/ldap.conf.template
/kolabetc/kolab/templates/kolab.conf.template
/kolabetc/apache/apache.conf
/kolabetc/apache/legacy.conf
/kolabetc/apache/apache.conf.old
/kolabetc/resmgr/freebusy.conf
/kolabetc/resmgr/freebusy.conf.old
/kolabetc/resmgr/resmgr.conf
/kolabetc/resmgr/resmgr.conf.old
/kolabetc/openldap/ldap.conf.old
/kolabetc/openldap/ldap.conf
/kolabetc/postfix/main.cf
/kolabetc/postfix/master.cf.old
/kolabetc/postfix/master.cf
/kolabetc/postfix/main.cf.old
/kolabvar/kolab/php/admin/include/session_vars.php
/kolabvar/kolab/php/admin/include/session_vars.php.old
/kolabvar/openldap/slapd.args

Is there a better way, when using Kolab, than relying on a utility like 
"sed", for example, and changing all of the files manually? Even if 
there was a Kolab utility, it would probably be forced to follow the 
same procedure as the files are so different from one another.  Perhaps 
a better solution would be to list the services and their ports in 
Kolab's configuration file and then propagate these changes to the right 
files when the core configuration file is modified.  Can this be done 
already?

Thanks,
Michael




More information about the devel mailing list