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

Mathieu Parent math.parent at gmail.com
Tue Oct 21 20:13:36 UTC 2008


Mathieu Parent



2008/10/21 Price,Neil <NPrice at gibb.co.za>:
>
>> > Stopping OpenLDAP: slapd.
>> > ssh -CA kolab.gibb.co.za  -C /var/lib/ldap -pcf -
>> openldap-data |  -C
>> > /var/lib/ldap -pxf -
>> > sh: -C: command not found
>> > root at kolab.gibb.co.za's password:
>>
>> Was that meant to be
>>
>> 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 - ");
>
> Agree?
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.

Can you please send your kolab.globals?

> Theres also an interesting construct on line 844:
>
>  if ("no" eq "yes") {
>
> Huh?
>
> _______________________________________________
> pkg-kolab-devel mailing list
> pkg-kolab-devel at lists.alioth.debian.org
> http://lists.alioth.debian.org/mailman/listinfo/pkg-kolab-devel
>



More information about the pkg-kolab-devel mailing list