[pkg-kolab] Kolab_bootstrap - copying ldap data to slave

Price,Neil NPrice at gibb.co.za
Wed Oct 22 06:38:39 UTC 2008


On 21 October 2008 10:14 PM Mathieu Parent wrote 

> >> ssh -CA kolab.gibb.co.za  tar -C /var/lib/ldap -pcf -
> >> openldap-data |  tar
> >> -C  /var/lib/ldap -pxf -
> >>
> >> ?
> >
> > Continuing my monologue here... I think line 835 of 
> kolab_bootstrap should
> > read:
> >
> > kolab_system("ssh -CA $master_host 'tar -C /var/lib/ldap/ 
> -pcf  - . ' | tar
> > -C /var/lib/ldap/ -pxf - ");


> You should'nt execute this line anyway as it is in "if
> ($directory_mode ne "syncrepl" and $directory_mode ne "sync") {" and
> directory_mode = syncrepl.

Ding! Its starts to make sense now. BTW if I look at the subversion code I
see there is a @TAR@ which has not been substituted in the final code.

I also understand now where the openldap-data part of the statement comes
from. This section of code is meant to make a slave to a slurpd master.
> 
> Can you please send your kolab.globals?

conn_refresh_period : 60
cyrus-admin : manager
cyrus-admins : manager
cyrus-autocreatequota : 100000
cyrus-imap : TRUE
cyrus-imaps : TRUE
cyrus-pop3 : FALSE
cyrus-pop3s : TRUE
cyrus-sieve : TRUE
directory_mode : syncrepl
gyard_deletion_period : 10080
ldap_uri : ldap://127.0.0.1:389
log_level : 2
debug : 0
postfix-mydestination : $mydomain
sf_field_deleted : kolabdeleteflag
sf_field_guid : entryUUID
sf_field_modified : modifytimestamp
sf_field_quota : cyrus-userquota
sf_object_class : kolabsharedfolder
slurpd_addr : 127.0.0.1
slurpd_accept_addr : 127.0.0.1
slurpd_port : 9999
uid : freebusy
userPassword : freebusy
user_field_deleted : kolabdeleteflag
user_field_guid : entryUUID
user_field_modified : modifytimestamp
user_field_quota : cyrus-userquota
user_object_class : inetOrgPerson
kolabconf_script: /usr/sbin/kolabconf
kolab_locals: /etc/kolab/kolab.conf
kolab_usr: kolab
kolab_grp: kolab
kolab_rusr: kolab
kolab_rgrp: kolab
kolab_musr: kolab
kolab_mgrp: kolab
hashmethod: /usr/sbin/slappasswd -s
templatedir: /etc/kolab/templates
kolabdir: /etc/kolab/
postmapping: /usr/sbin/postmap -o /etc/postfix
KOLABRC: /usr/sbin/kolab
sbindir: /usr/sbin
webserver_logdir: /var/log/apache2
webserver_document_root: /usr/share/kolab
local_addr : 127.0.0.1
bind_any : TRUE
bind_addr : 0.0.0.0
calendar_id : calendar
syslog_facility : local5




More information about the pkg-kolab-devel mailing list