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

Re: syncrepl mangles operational attributes (ITS#3259)

On Wed, 2004-07-28 at 14:04, Pierangelo Masarati wrote:
> Please apply this patch and report errors:
> http://www.sys-net.it/~ando/Download/syncrepl-ITS3259.patch
> Thanks, p.

patch applied to 2.2.14 (provider and consumer) with an offset of -42
lines (did you want me to try cvs?)

exactly the same result ie garbage entryUUID and missing
creation/modification operational attrs:

dn: dc=my-domain,dc=com
dc: my-domain
objectClass: top
objectClass: domain
structuralObjectClass: domain
entryCSN: 20040727135905Z#000001#00#000000
entryUUID:: 3ciq2HQgECiV+OnB6i4R7g==

Are the garbled/missing attributes supposed to be unique to the consumer
or identical to the provider attrs? Looking at the debug (-d256) on the
provider shows that those op-attrs are not requested.

lea:/usr/local/var# /usr/local/libexec/slapd -d256
@(#) $OpenLDAP: slapd 2.2.14 (Jul 28 2004 14:39:13) $
bdb_initialize: Sleepycat Software: Berkeley DB 4.2.52: (December  3,
bdb_db_init: Initializing BDB database
slapd starting
conn=0 fd=10 ACCEPT from IP=<consumer ip>:40907 (IP=
conn=0 op=0 BIND dn="cn=manager,dc=my-domain,dc=com" method=128
conn=0 op=0 BIND dn="cn=Manager,dc=my-domain,dc=com" mech=SIMPLE ssf=0
conn=0 op=0 RESULT tag=97 err=0 text=
conn=0 op=1 SRCH base="dc=my-domain,dc=com" scope=2 deref=0
conn=0 op=1 SRCH attr=* objectClass structuralObjectClass entryCSN
conn=0 op=1 SEARCH RESULT tag=101 err=0 nentries=5 text=
conn=0 op=2 UNBIND
conn=0 fd=10 closed


ps probably irrelevant but the syncrepl1 object on the consumer has
proper looking op-attrs:
dn: cn=syncrepl1,dc=my-domain,dc=com
objectClass: top
objectClass: subentry
objectClass: syncConsumerSubentry
cn: syncrepl1
syncreplCookie: csn=20040727142213Z#000001#00#000000
subtreeSpecification: {}
structuralObjectClass: subentry
entryUUID: 5d1a52c8-74e9-1028-87b6-93c84e6f0947
creatorsName: cn=manager,dc=my-domain,dc=com
createTimestamp: 20040728135418Z
entryCSN: 20040728135418Z#000001#00#000000
modifiersName: cn=manager,dc=my-domain,dc=com
modifyTimestamp: 20040728135418Z

Greg Matthews
iTSS Wallingford	01491 692445