directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brett Gilmer" <>
Subject Replication between ApacheDS and openLDAP
Date Tue, 03 Feb 2015 17:20:47 GMT
Apache DS Team -



I am trying to set up replication between an openLDAP and an ApacheDS.  The
ApacheDS is the provider.


What I am seeing is that openLDAP, when it tries to sync (consumer), will
often send a cookie that ApacheDS doesn't like.  Once this happens, there is
no recovery.


In the example below, openLDAP is sending a cookie that is too long (looks
like 2 timestamps with a  semicolon).  

I also have issues where the clearing of the cookie on openLDAP sends a
cookie with an RID but no timestamp, while Apache expects a totally blank


Has anyone else seen this?  I am stuck with openLDAP on the consumer side
(it is embedded in an internet appliance).







from LdapSession :

[14:29:37] DEBUG [] - Received a
replication request MessageType : SEARCH_REQUEST

Message ID : 1251


        baseDn : 'dc=example,dc=com'

        filter : '(objectClass=*)'

        scope : whole subtree

        typesOnly : false

        Size Limit : no limit

        Time Limit : no limit

        Deref Aliases : never Deref Aliases

        attributes : '*', '+'
SyncRequestValue control :

        oid :

        critical : false

        mode              : 'REFRESH_AND_PERSIST'

        cookie            : '0x72 0x69 0x64 0x3D 0x33 0x30 0x30 0x2C 0x63
0x73 0x6E 0x3D 0x32 0x30 0x31 0x34 0x31 0x32 0x32 0x39 0x31 0x36 0x30 0x34
0x34 0x34 0

x2E 0x38 0x34 0x31 0x32 0x30 0x34 0x5A 0x23 0x30 0x30 0x30 0x30 0x30 0x30
0x23 0x30 0x30 0x30 0x23 0x30 0x30 0x30 0x30 0x30 0x30 0x3B 0x32 0x30 0x31
0x35 0x30 0

x31 0x31 0x37 0x31 0x38 0x33 0x37 0x32 0x36 0x2E 0x38 0x31 0x32 0x30 0x30
0x30 0x5A 0x23 0x30 0x30 0x30 0x30 0x30 0x30 0x23 0x30 0x30 0x31 0x23 0x30
0x30 0x30 0

x30 0x30 0x30 '

        reloadHint : 'true'

    ManageDsaITImpl Control

        Type OID    : '2.16.840.1.113730.3.4.2'

        Criticality : 'true'


with a cookie

[14:29:37] ERROR [] - received an
invalid cookie

000Z#000000#001#000000 from the consumer with session LdapSession :

[14:29:37] DEBUG [] - Received a
Syncrepl request : MessageType : SEARCH_REQUEST

1,1           Top

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message