Fix a warning message displayed to the user when all the base DN's are disabled but not the replication server.
Display the message only if the replication server is actually configured in the server.
| | |
| | | binary copy. |
| | | INFO_REPLICATION_DISABLE_SUFFIX_PROMPT=Disable replication on base DN %s? |
| | | INFO_REPLICATION_DISABLE_ALL_SUFFIXES_KEEP_REPLICATION_SERVER=You have chosen \ |
| | | to disable replication on all the replicated servers of '%s'. If you want \ |
| | | to disable replication on all the replicated base DN's of '%s'. If you want \ |
| | | also the replication server (changelog and replication port) to be disabled \ |
| | | you must also specify the '--%s' or '--%s' argument. |
| | | INFO_REPLICATION_DISABLE_ALL_SUFFIXES_DISABLE_REPLICATION_SERVER=You have \ |
| | |
| | | } |
| | | |
| | | if (!isInteractive() && !uData.disableReplicationServer() && |
| | | !uData.disableAll() && disableAllBaseDns(ctx, uData)) |
| | | !uData.disableAll() && disableAllBaseDns(ctx, uData) && |
| | | hasReplicationPort(ctx)) |
| | | { |
| | | // Inform the user that the replication server will not be disabled. |
| | | // Inform also of the user of the disableReplicationServerArg |