From e4eb4b624b2bc06151d883a40fe251fd50720d4d Mon Sep 17 00:00:00 2001
From: neil_a_wilson <neil_a_wilson@localhost>
Date: Thu, 13 Sep 2007 23:02:00 +0000
Subject: [PATCH] Update the upgrader version incompatibility information to indicate that it is not possible to upgrade or revert across revision 2794, which changed password storage scheme references from the scheme name to the config entry DN.

---
 opends/src/messages/messages/version.properties                         |   10 ++++++++++
 opends/src/server/org/opends/server/util/VersionCompatibilityIssue.java |   11 +++++++++++
 2 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/opends/src/messages/messages/version.properties b/opends/src/messages/messages/version.properties
index de1da26..c40c240 100644
--- a/opends/src/messages/messages/version.properties
+++ b/opends/src/messages/messages/version.properties
@@ -75,3 +75,13 @@
  by the server will be reverted to a prior version.  In order to revert this \
  server you will have to export the data from this server and reimport it \
  after the reversion has finished
+INFO_2974_UPGRADE_7=This upgrade introduces an incompatible property change \
+ for the default password storage scheme and deprecated password storage \
+ schemes associated with a password policy.  The schemes are now referenced \
+ by DN rather than by name.  Upgrade is not possible because the scheme name \
+ cannot be automatically translated into a DN
+INFO_2974_REVERSION_8=It is not possible to revert to a revision before 2974 \
+ because the default password storage scheme and deprecated password storage \
+ scheme references in the password policy have been converted from names to \
+ DNs, and it is not possible to revert from the DN back to the scheme name
+
diff --git a/opends/src/server/org/opends/server/util/VersionCompatibilityIssue.java b/opends/src/server/org/opends/server/util/VersionCompatibilityIssue.java
index effc873..5eb1792 100644
--- a/opends/src/server/org/opends/server/util/VersionCompatibilityIssue.java
+++ b/opends/src/server/org/opends/server/util/VersionCompatibilityIssue.java
@@ -218,6 +218,17 @@
   public enum Cause {
 
     /**
+     * Incompatible property name change committed on 09/05/2007
+     * and described in the SVN log for rev 2974.
+     */
+    PROPERTY_CHANGE_1(
+            4, // Unique ID.  See javadoc for more information.
+            INFO_2974_UPGRADE.get(),
+            INFO_2974_REVERSION.get(),
+            Effect.REVERSION_NOT_POSSIBLE,
+            Effect.UPGRADE_NOT_POSSIBLE),
+
+    /**
      * Database format change committed on 6/7/2007
      * and described in the SVN log for rev 2049.
      */

--
Gitblit v1.10.0