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

jvergara
04.50.2008 eb2c7d16f86b305fd54d88ecd7f6496b85c58021
refs
author jvergara <jvergara@localhost>
Friday, January 4, 2008 00:50 +0100
committer jvergara <jvergara@localhost>
Friday, January 4, 2008 00:50 +0100
commiteb2c7d16f86b305fd54d88ecd7f6496b85c58021
tree 810100650ee790b57fa3d4efdca286940581fd05 tree | zip | gz
parent 2b85eb1c89a0af6bb76b3772c3b8c8ec00ca63b4 view | diff
Fix for issue 2791: dsreplication enable command assumes Administrator doesn't already exist

The fix consists of checking whether the specified administrator exists or not before creating it (this is done even in the case where no server had been registered).

In addition to that a bug in the way the server registry comparison is made has been fixed. Before these changes when we tried to enable a suffix between two servers that were already replicated, dsreplication enable failed.
1 files modified
127 ■■■■■ changed files
opendj-sdk/opends/src/guitools/org/opends/guitools/replicationcli/ReplicationCliMain.java 127 ●●●●● diff | view | raw | blame | history