--- kolabd-20050801/kolab_bootstrap.orig 2005-08-01 16:02:26.000000000 -0300 +++ kolabd-20050801/kolab_bootstrap 2005-08-01 16:02:38.000000000 -0300 @@ -389,6 +389,7 @@ my $tmpl = IO::File->new("$kolab_prefix/etc/kolab/templates/slapd.conf.template", "r") || die "could not read $kolab_prefix/etc/kolab/templates/slapd.conf.template"; my $slpd = IO::File->new("$kolab_prefix/etc/openldap/slapd.conf","w+") || die "could not write to $kolab_prefix/etc/openldap/slapd.conf"; chmod (0640,"$kolab_prefix/etc/openldap/slapd.conf"); + kolab_chown "ldap","ldap","$kolab_prefix/etc/openldap/slapd.conf"; while (<$tmpl>) { if (/^KOLAB_META_START$/) { my $found_end; @@ -412,6 +413,7 @@ $tmpl = IO::File->new($tmplname, "r") || die "could not read $tmplname"; $slpd = IO::File->new($confname,"w+") || die "could not write to $confname"; chmod (0640,$confname); + kolab_chown "ldap","ldap",$confname; while (<$tmpl>) { if (/^KOLAB_META_START$/) { my $found_end; @@ -431,6 +433,7 @@ $tmpl = IO::File->new($tmplname, "r") || die "could not read $tmplname"; $slpd = IO::File->new($confname,"w+") || die "could not write to $confname"; chmod (0640,$confname); + kolab_chown "ldap","ldap",$confname; while (<$tmpl>) { if (/^KOLAB_META_START$/) { my $found_end;