You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <ji...@apache.org> on 2019/06/28 10:08:00 UTC

[jira] [Updated] (DIRSERVER-2140) Master-Slave Replicaton with attribute-selection

     [ https://issues.apache.org/jira/browse/DIRSERVER-2140?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emmanuel Lecharny updated DIRSERVER-2140:
-----------------------------------------
    Component/s:     (was: core)
                 replication

> Master-Slave Replicaton with attribute-selection
> ------------------------------------------------
>
>                 Key: DIRSERVER-2140
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2140
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: replication
>    Affects Versions: 2.0.0-M21
>         Environment: We are using M21 and Java8. 
> We tried it on Win10 and W2008R2.
>            Reporter: Stefan Humbold
>            Priority: Major
>
> 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
>  =servers,ads-directoryServiceId=default,ou=config
> 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
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org