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

Re: NFS and slapd

At 03:41 PM 8/19/00 +0530, S Ashok Kumar wrote:
>I have the db files of LDAP created in /home4 on a RedHat linux machine.
>The partition is NFS mounted by another machine with write access
>(RedHat linux machine). The problem I find is: any updation on
>LDAP database by one machine is not seen by the other machine. Any user
>addition or deletion on LDAP database is only seen by the machine which
>does the change. But when a directory is NFS mounted shouldn't the
>changes be transparently seen by the machine sharing and machine which
>exports the directory? It may be a NFS related issue, but if anyone has
>already done this please reply.

Don't do that!   A slapd should have exclusive access to its
embedded database.  If you attempt to share embedded databases
you either get blocking (due to file locking) or corruption
(due to the lack of file locking).  If you want to replicate
your directory, use slurpd.