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

RE: Replication



Andrew: 


Thank you, that was exactly the problem.  Sometimes if you stare to long at
beautiful women, you go blind.  That's what happened.

Theodore Reph
treph@att.net


-----Original Message-----
From: Andrew Bacchi [mailto:bacchi@rpi.edu] 
Sent: Thursday, December 19, 2002 1:21 PM
To: Theodore Reph
Subject: RE: Replication

Here is your problem:
binddn="cn=Manager,dc=reph,org"
should be:	binddn="cn=Manager,dc=reph,dc=org"


> replica host=is4.internet-stuff.com:389
>     binddn="cn=Manager,dc=reph,org"
>     bindmethod=simple credentials=secret


On Thu, 2002-12-19 at 13:56, Theodore Reph wrote:
> It appear that the problem is 
> 
> ldap_simple_bind_s for is4.internet-stuff.com:389 failed: Invalid DN
syntax.
> 
> Here is the master slapd.conf:
> database    ldbm
> suffix      "dc=reph,dc=org"
> rootdn      "cn=Manager,dc=reph,dc=org"
> rootpw      secret
> 
> access to *
>     by dn="cn=Replicator,dc=reph,dc=org" write
>     by dn="cn=Replicator,dc=reph,dc=org" read
>     by dn="cn=Replicator,dc=reph,dc=org" search
>     by dn="cn=Replicator,dc=reph,dc=org" compare
> 
> directory   /usr6/ldap
> 
> replica host=is4.internet-stuff.com:389
>     binddn="cn=Manager,dc=reph,org"
>     bindmethod=simple credentials=secret
> 
> replogfile /usr8/ldap/logfile/replogfile
> 
> --------------------------------------------------------------------
> Slave slapd.conf:
> database        ldbm
> suffix          "dc=reph,dc=org"
> rootdn          "cn=Replicator,dc=reph,dc=org"
> rootpw          secret
> 
> directory       /usr9/ldap_test/db
> index   objectClass,uid,uidNumber,gidNumber,memberUid   eq
> index   cn,mail,surname,givenname                       eq,subinitial
> updatedn        "cn=Replicator,dc=reph,dc=org"
> updateref       ldap://reph1.reph.org:389
> 
> Theodore Reph
> treph@att.net
> 
> 
> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org] On Behalf Of Andrew Bacchi
> Sent: Thursday, December 19, 2002 11:12 AM
> To: Theodore Reph
> Cc: 'Frank Swasey'; openldap-software@OpenLDAP.org
> Subject: RE: Replication
> 
> Check that you have slurpd running on the master and the slapd.conf file
> points to your slave.  In the slave slapd.conf file enter the master
> info.
> 
> example of slapd.conf replication line
> replica host=your.slaveserver.here:389
>     binddn="cn=namehere,dc=some,dc=com"
>     bindmethod=simple credentials=yourpasswordhere
> 
> replogfile /var/replication.log
> 
> On the slave enter the location of th master in slapd.conf
> 
> updatedn        "cn=namehere,dc=some,dc=com"
> updateref       "ldap://your.masterserver.here:389";
> 
> On Thu, 2002-12-19 at 11:31, Theodore Reph wrote:
> > That's what I thought.  I been having problems getting the replication
to
> > work. I'm not sure where to start to fix the problem because I don't
know
> > what the problem is.
> > 
> > 
> > Theodore Reph
> > treph@att.net
> > 
> > 
> > -----Original Message-----
> > From: Frank Swasey [mailto:Frank.Swasey@uvm.edu] 
> > Sent: Thursday, December 19, 2002 10:20 AM
> > To: Theodore Reph
> > Cc: openldap-software@OpenLDAP.org
> > Subject: Re: Replication
> > 
> > Today at 9:35am, Theodore Reph wrote:
> > 
> > > If I add a record to the master LDAP, should LDAP update that record
to
> > the
> > > slave(s)?
> > > 
> > > Currently,  I write to the master,  it appends to the slurpd.replog.
Am
> I
> > > responsible to take that replog and load the slave with it?
> > 
> > No, that's what slurpd does....
> > 
> > -- 
> > Frank Swasey                    | http://www.uvm.edu/~fcs
> > Systems Programmer              | Always remember: You are UNIQUE,
> > University of Vermont           |    just like everyone else.
> >                     === God Bless Us All ===
> > 
> > 
> -- 
> Andrew Bacchi
> Staff Systems Programmer
> Rensselaer Polytechnic Institute
> phone: 518 276-6415  fax: 518 276-2809
> 
> http://www.rpi.edu/~bacchi/
> 
> 
-- 
Andrew Bacchi
Staff Systems Programmer
Rensselaer Polytechnic Institute
phone: 518 276-6415  fax: 518 276-2809

http://www.rpi.edu/~bacchi/