[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
[Fwd: Re: replication problem]
- To: OpenLDAP Software List <openldap-software@OpenLDAP.org>
- Subject: [Fwd: Re: replication problem]
- From: Justin Crabtree <crabtrej@otc.edu>
- Date: Mon, 08 Nov 2004 16:56:04 -0600
- Organization: Ozarks Technical Community College
- User-agent: Mozilla Thunderbird 0.8 (Windows/20040913)
Quanah Gibson-Mount wrote:
--On Monday, November 08, 2004 10:26 AM -0600 Justin Crabtree
<crabtrej@otc.edu> wrote:
I have replication setup with one master and two slaves. When I make a
manual change to the master, it replicates to the slaves with no problem.
I have used both phpldapadmin and ldapmodify to make changes. They both
work. My problem is with a perl script that runs at night to check our
central database for changes and update the LDAP server. None of the
changes made by this script get replicated. When I search the replica
log, there are no entries for the changes I know my script has made. The
log file is full of entries for changes to timestamps and creators name,
but not the changes to non-system attributes. Has anyone else run across
this problem? I have been told that large updates should be done by
copying the database and not rely on replication. I would like, however,
to let me script run every night and have replication handle the changes
on the slaves. Any ideas?
Justin,
Does the master reflect the changes that were made by the perl script?
From what you describe, it sounds like the perl script is not doing what
you intended.
--Quanah
--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html
The perl script updates the master with no problem. It gets the current
info from the database, checks the current entry in LDAP, modifies any
attributes that have changed and adds any attributes that are new. It
reports any accounts changed and I have verified that it is doing what I
think it is doing.
Justin Crabtree
Java Programmer
Ozarks Technical Community College
799-1573
--
Justin Crabtree
Java Programmer
Ozarks Technical Community College
799-1573