directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Humbold (JIRA)" <>
Subject [jira] [Created] (DIRSERVER-2140) Master-Slave Replicaton with attribute-selection
Date Wed, 13 Apr 2016 07:36:25 GMT
Stefan Humbold created DIRSERVER-2140:

             Summary: Master-Slave Replicaton with attribute-selection
                 Key: DIRSERVER-2140
             Project: Directory ApacheDS
          Issue Type: Bug
          Components: core
    Affects Versions: 2.0.0-M21
         Environment: We are using M21 and Java8. 
We tried it on Win10 and W2008R2.
            Reporter: Stefan Humbold

When trying to replicate entries from master-ds to slave-ds the attribute-selecton is not
working properly. 

We want to replicate the user-entries with some selected attributes only (objectClass, cn,
ou, sn):

ads-replattributes: objectClass
ads-replattributes: cn
ads-replattributes: ou
ads-replattributes: sn

Initial replicaton works fine. All user-entries with the selected attributes are replicated.

But now if you change only one attribute for one entry on the master-ds, all attributes are
replicated (cn, ou, sn, o, l, fax, mobile, userPassword, objectClass ...).

We are using M21 and Java8. 
We tried it on Win10 and W2008R2.
We tried with "Refresh only" and "Refresh and persist".

Our procedure:

1 ) On the master-side we only changed the attribte ads-replEnabled to TRUE.

2)  On the slave-side, this is our simple customer-entry for testing:

dn: ads-replconsumerid=consumer1,ou=replConsumers,ads-serverid=ldapServer,ou
objectclass: ads-base
objectclass: ads-replConsumer
objectclass: top
ads-replaliasderefmode: never
ads-replattributes: cn
ads-replattributes: objectClass
ads-replattributes: ou
ads-replattributes: sn
ads-replconsumerid: consumer1
ads-replprovhostname: localhost
ads-replprovport: 389
ads-replrefreshinterval: 60000
ads-replrefreshnpersist: TRUE
ads-replsearchfilter: (objectClass=*)
ads-replsearchscope: sub
ads-replsearchsizelimit: 0
ads-replsearchtimeout: 0
ads-repluserdn: uid=admin,ou=system
ads-repluserpassword:: c2VjcmV0
ads-searchbasedn: dc=example,dc=com
ads-enabled: TRUE
ads-replstrictcertvalidation: FALSE
ads-replusetls: FALSE
description: local

This message was sent by Atlassian JIRA

View raw message