[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: OpenLDAP log file ownership getting modified automatically.



Brian Reichert wrote:
> I had a home-rolled backup cronjob that ran these utilities:
> 
>   /usr/sbin/slapd_db_checkpoint
>   /usr/sbin/slapd_db_archive
> 
> but did so as 'root', not as slapd's UID. Once in a great while,
> this would result in a transaction log owned by root, and slapd
> would fail.

From my understanding those commands change DB environment. IMO this is asking
for trouble and is also obsolete with back-mdb.

The recommended way to export your DB for backup is to use slapcat command-line
tool.

Ciao, Michael.

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature