Warn that deleting replica is irreversible, try to detect reconnection.

Using ipa-replica-manage del <replica> is irreversible. You can't
turn around and do a connect to it, all heck will break loose. This is
because we clean up all references to the replica when we delete so if
we connect to it again we'll end up deleting all of its principals.

When a connection is deleted then the agreement is removed on both sides.
What isn't removed is the nsDS5ReplicaBindDN so we can use that to
determine if we previously had a connection.

https://fedorahosted.org/freeipa/ticket/2126
This commit is contained in:
Rob Crittenden
2012-02-24 18:17:47 -05:00
committed by Martin Kosek
parent c48d34fa43
commit 2d55525652
2 changed files with 24 additions and 1 deletions

View File

@@ -61,7 +61,7 @@ The Directory Manager password to use for authentication
Provide additional information
.TP
\fB\-f\fR, \fB\-\-force\fR
Ignore some types of errors
Ignore some types of errors, don't prompt when deleting a master
.TP
\fB\-\-binddn\fR=\fIADMIN_DN\fR
Bind DN to use with remote server (default is cn=Directory Manager) \- Be careful to quote this value on the command line