summaryrefslogtreecommitdiffstats
path: root/ldap/admin
diff options
context:
space:
mode:
authorEndi S. Dewata <edewata@redhat.com>2010-10-05 16:31:20 -0400
committerEndi S. Dewata <edewata@redhat.com>2010-10-14 17:12:40 -0400
commit0762be835d519d82fd8627105874fd3cdd861278 (patch)
tree514306b277ec01c7c6746ddfc60e6deabf145c98 /ldap/admin
parentdea824922c6d29b788aa55aff34de17ada1a7bdc (diff)
downloadds-0762be835d519d82fd8627105874fd3cdd861278.tar.gz
ds-0762be835d519d82fd8627105874fd3cdd861278.tar.xz
ds-0762be835d519d82fd8627105874fd3cdd861278.zip
Bug 573889 - Migration does not remove deprecated schema
The DSMigration.pm has been modified such that it executes the update scripts including removing deprecated schema.
Diffstat (limited to 'ldap/admin')
-rw-r--r--ldap/admin/src/scripts/DSMigration.pm.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/ldap/admin/src/scripts/DSMigration.pm.in b/ldap/admin/src/scripts/DSMigration.pm.in
index 38407ba2..1bd594c6 100644
--- a/ldap/admin/src/scripts/DSMigration.pm.in
+++ b/ldap/admin/src/scripts/DSMigration.pm.in
@@ -51,6 +51,7 @@ use Migration;
use DSUtil;
use Inf;
use DSCreate;
+use DSUpdate;
# tempfiles
use File::Temp qw(tempfile tempdir);
@@ -1042,6 +1043,10 @@ sub migrateDSInstance {
return @errs;
}
+ if (@errs = updateDS($mig)) {
+ return @errs;
+ }
+
# next, the databases
if (@errs = migrateDatabases($mig, $inst, $src, $dest)) {
return @errs;