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

Mathieu Parent math.parent at gmail.com
Tue Oct 21 14:38:01 UTC 2008


Hi,

Take a look at what have been done upstream (for example :
http://kolab.org/cgi-bin/viewcvs-kolab.cgi/server/kolabd/kolabd/Attic/kolab_bootstrap.in).




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?
>
> 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
>




Mathieu Parent



More information about the pkg-kolab-devel mailing list