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

RE: ACLs and replication



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Kristyan Osborne wrote:
> 
> >-----BEGIN PGP SIGNED MESSAGE-----
> >Hash: SHA1
> >
> >Hi,
> >
> >I have two OpenLDAP servers running 2.2.17. DS1 is a master 
> as DS9 is a slave. I want to make DS1 replicate to DS9.
> >I have set up as according to the docs but when I start 
> slurpd with -d2 I can see the error Invalid credentials.
> >
> >I have set up a cn=ldaprep as the update dn. If I use 
> cn=root then replication work. I think it is something to do 
> with my ACLs.
> >
> I would guess that "Invalid credentials" has something to do 
> with your 
> DN or password....

I sort of figured that, but why. do I need to specify the ldaprep password like the rootpw parameter of the conf file. Does anyone have an example I could follow.

> > 
> >
> >Any help would be appreciated.
> >
> >here are snippets from my conf files.
> >
> >DS1
> >
> >access to *
> >	by 
> group="cn=it,ou=Groups,dc=longhill,dc=brighton-hove,dc=sch,dc=
> uk" write
> >	by 
> dn.base="cn=ldaprep,dc=longhill,dc=brighton-hove,dc=sch,dc=uk" write
> >	by anonymous auth
> >	by * none
> >
> >replica host=ds9.longhill.brighton-hove.sch.uk:389
> >	suffix ="dc=longhill,dc=brighton-hove,dc=sch,dc=uk"
> >	binddn="uid=ldaprep,dc=longhill,dc=brighton-hove,dcc=sch,dc=uk"
> >  
> >
> You have "dcc=sch" instead of "dc=sch" there. Was that just a typo in 
> this email, or does that same mistake appear in your config file?

Unfortunatly thats just a typo.
 
> >	credentials=foo
> >	bindmethod=simple
> >replogfile /usr/local/var/replog/replog
> >
> >
> >DS9
> >
> >access to *
> >	by 
> group="cn=it,ou=Groups,dc=longhill,dc=brighton-hove,dc=sch,dc=
> uk" write
> >	by 
> dn.base="cn=ldaprep,dc=longhill,dc=brighton-hove,dc=sch,dc=uk" write
> >	by anonymous auth
> >	by * none
> >
> >updatedn "cn=ldaprep,dc=longhill,dc=brighton-hove,dc=sch,dc=uk"
> >updateref ldap://ds1.longhill.brighton-hove.sch.uk
> >  
> >
> -- 
>   -- Howard Chu
>   Chief Architect, Symas Corp.       Director, Highland Sun
>   http://www.symas.com               http://highlandsun.com/hyc
>   Symas: Premier OpenSource Development and Support
> 
Cheers
- -------------
Kristyan Osborne - IT Technician
Longhill High School
01273 391672 / 304086
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (MingW32)

iD8DBQFBf9Wqqrr+KdRYU5gRAo8SAJ4qb4uGryBhTKpBu6Dx8L7CKlwS0ACeJLb9
paDS3LxZ0mvHm3iSPgmY3jQ=
=RyrO
-----END PGP SIGNATURE-----