[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
multiple replication updates for one master update
So I am sure that I must have some configuration thing set up wrong... but
whenever I do a single update to my ldap master (v2.1.22) I get 3 updates for
that same dn on my replica server.... please just get it over with quick and
tell me I am dumb s**t and set me straight on what config changes I need to
make.
In addition, I also appear to be able to update my replica directly even though
I have an updateref defined... not sure why I can do that either!
thanks for the flogging in advance ;-)
Gary
glavoy@apple.com
------------------------------------
Here is a snippit of the masters log:
Aug 28 17:31:13 albacore slapd[10007]: conn=4989 op=0 BIND
dn="cn=Manager,o=Apple Computer" mech=simple ssf=0
Aug 28 17:31:13 albacore slapd[10007]: conn=4989 op=0 RESULT tag=97 err=0 text=
Aug 28 17:31:13 albacore slapd[10007]: conn=4989 op=1 ADD
dn="appleDSID=774135,ou=groupmembers,ou=groups,o=apple computer"
Aug 28 17:31:13 albacore slapd[10007]: conn=4989 op=1 RESULT tag=105 err=0 text=
here is the replicas log:
Aug 28 17:31:14 barbet slapd[9179]: conn=4897 op=3 ADD dn="appleDSID=774135,ou=g
roupmembers,ou=groups,o=apple computer"
Aug 28 17:31:14 barbet slapd[9179]: conn=4899 op=3 ADD dn="appleDSID=774135,ou=g
roupmembers,ou=groups,o=apple computer"
Aug 28 17:31:14 barbet slapd[9179]: conn=4898 op=3 ADD dn="appleDSID=774135,ou=g
roupmembers,ou=groups,o=apple computer"
Aug 28 17:31:15 barbet slapd[9179]: conn=4897 op=3 RESULT tag=105 err=0 text=
Aug 28 17:31:15 barbet slapd[9179]: conn=4899 op=3 RESULT tag=105 err=68 text=
Aug 28 17:31:15 barbet slapd[9179]: conn=4898 op=3 RESULT tag=105 err=68 text=
the db portion of my slapd.conf for the master looks like (I have 3 separate dbs
on both systems):
replogfile /ngs/app/openldap/apple_openldap/var/openldap-slurp/replogfile.log
database ldbm
suffix "ou=Groups, o=Apple Computer"
subordinate "o=Apple Computer"
dbcachesize 500000000
cachesize 500000000
rootdn "cn=Manager,o=Apple Computer"
replica host=etsx4.apple.com:389
binddn="cn=Manager,o=Apple Computer"
bindmethod=simple
credentials=secret
directory /ngs/app/openldap/apple_openldap/var/openldap-data/db/groups
database ldbm
suffix "ou=Externals, o=Apple Computer"
subordinate "o=Apple Computer"
dbcachesize 500000000
cachesize 500000000
rootdn "cn=Manager,o=Apple Computer"
replica host=etsx4.apple.com:389
binddn="cn=Manager,o=Apple Computer"
bindmethod=simple
credentials=secret
directory /ngs/app/openldap/apple_openldap/var/openldap-data/db/externals
database ldbm
suffix "o=Apple Computer"
dbcachesize 300000000
cachesize 300000000
rootdn "cn=Manager,o=Apple Computer"
rootpw {SSHA}qn1ASsCqSO4wUbZPRmgUc0e3eZgbACdE
replica host=etsx4.apple.com:389
binddn="cn=Manager,o=Apple Computer"
bindmethod=simple
credentials=secret
directory /ngs/app/openldap/apple_openldap/var/openldap-data/db/apple
the replicas slapd.conf looks like:
database ldbm
suffix "ou=Groups, o=Apple Computer"
subordinate "o=Apple Computer"
dbcachesize 500000000
rootdn "cn=Manager,o=Apple Computer"
updatedn "cn=Manager,o=Apple Computer"
updateref ldap://etsx1.apple.com
cachesize 500000000
directory /ngs/app/openldap/apple_openldap/var/openldap-data/db/groups
database ldbm
suffix "ou=Externals, o=Apple Computer"
subordinate "o=Apple Computer"
dbcachesize 500000000
rootdn "cn=Manager,o=Apple Computer"
updatedn "cn=Manager,o=Apple Computer"
updateref ldap://etsx1.apple.com
cachesize 500000000
directory /ngs/app/openldap/apple_openldap/var/openldap-data/db/externals
database ldbm
suffix "o=Apple Computer"
dbcachesize 300000000
rootdn "cn=Manager,o=Apple Computer"
rootpw {SSHA}qn1ASsCqSO4wUbZPRmgUc0e3eZgbACdE
#rootpw secret
updatedn "cn=Manager,o=Apple Computer"
updateref ldap://etsx1.apple.com
cachesize 300000000
directory /ngs/app/openldap/apple_openldap/var/openldap-data/db/apple