[pkg-kolab] Kolab_bootstrap - copying ldap data to slave
Price,Neil
NPrice at gibb.co.za
Wed Oct 22 09:34:40 UTC 2008
On 21 October 2008 10:14 PM Mathieu Parent wrote
> 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.
The version of kolab_bootstrap in the current debs has this at line 822:
foreach (<$fd>) {
if (/(.*) : (.*)/) {
if ($1 == "directory_mode") { $directory_mode = $2};
}
Heres my fix:
foreach (<$fd>) {
if (/(.*) : (.*)/) {
if ($1 eq "directory_mode") {
$directory_mode = $2;
last;
}
}
}
More information about the pkg-kolab-devel
mailing list