mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

jvergara
17.50.2008 c18a91b28ea4ea568038d2122f9b6a930db93d66
refs
author jvergara <jvergara@localhost>
Thursday, January 17, 2008 09:50 +0100
committer jvergara <jvergara@localhost>
Thursday, January 17, 2008 09:50 +0100
commitc18a91b28ea4ea568038d2122f9b6a930db93d66
tree 62c80ed86a710dc6ef257161f7a6a2f88823900f tree | zip | gz
parent 63463be883ebb6a2140ee4f66faeb9629bad89ad view | diff
Fix for 2811 (dsreplication disable doesn't remove references to current server from replicated servers)
The fix makes dsreplication enable and dsreplication disable symmetric. When the user disables the last replicated suffix, we inform that the replication server will also be disabled. So when the last repilcated suffix is disabled, replication on cn=schema and cn=admin data are also disabled and the registration information updated properly.

Some changes have been made in ADSContext to make registerServer and unregisterServer symmetric: unregisterServer removes the references to the server keys and also the references to the server in the different server groups.

The code of DsFrameworkCliServer.java has also been updated since ADSContext.unregisterServer already updates the server groups.
6 files modified
443 ■■■■■ changed files
opendj-sdk/opends/src/ads/org/opends/admin/ads/ADSContext.java 92 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/ads/org/opends/admin/ads/ADSContextHelper.java 59 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/guitools/org/opends/guitools/replicationcli/ReplicationCliMain.java 262 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/guitools/org/opends/guitools/replicationcli/ReplicationCliReturnCode.java 9 ●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/messages/messages/admin_tool.properties 10 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/src/server/org/opends/server/admin/client/cli/DsFrameworkCliServer.java 11 ●●●●● diff | view | raw | blame | history