|
|
e96fd1 |
Don't migrate aliases by default, the schema used is no longer included in the
|
|
|
e96fd1 |
default server configuration.
|
|
|
e96fd1 |
|
|
|
e96fd1 |
diff -up MigrationTools-47/migrate_all_offline.sh.patch6 MigrationTools-47/migrate_all_offline.sh
|
|
|
e96fd1 |
--- MigrationTools-47/migrate_all_offline.sh.patch6 2008-08-29 09:09:19.000000000 +0200
|
|
|
e96fd1 |
+++ MigrationTools-47/migrate_all_offline.sh 2008-08-29 09:09:19.000000000 +0200
|
|
|
e96fd1 |
@@ -44,9 +44,9 @@
|
|
|
e96fd1 |
INSTDIR=/usr/share/migrationtools/
|
|
|
e96fd1 |
DB=`mktemp /tmp/nis.ldif.XXXXXX`
|
|
|
e96fd1 |
|
|
|
e96fd1 |
-if [ "X$ETC_ALIASES" = "X" ]; then
|
|
|
e96fd1 |
- ETC_ALIASES=/etc/aliases
|
|
|
e96fd1 |
-fi
|
|
|
e96fd1 |
+#if [ "X$ETC_ALIASES" = "X" ]; then
|
|
|
e96fd1 |
+# ETC_ALIASES=/etc/aliases
|
|
|
e96fd1 |
+#fi
|
|
|
e96fd1 |
#if [ "X$ETC_FSTAB" = "X" ]; then
|
|
|
e96fd1 |
# ETC_FSTAB=/etc/fstab
|
|
|
e96fd1 |
#fi
|
|
|
e96fd1 |
@@ -110,8 +110,8 @@ fi
|
|
|
e96fd1 |
|
|
|
e96fd1 |
echo "Creating naming context entries..."
|
|
|
e96fd1 |
$PERL -I${INSTDIR} ${INSTDIR}migrate_base.pl > $DB
|
|
|
e96fd1 |
-echo "Migrating aliases..."
|
|
|
e96fd1 |
-$PERL -I${INSTDIR} ${INSTDIR}migrate_aliases.pl $ETC_ALIASES >> $DB
|
|
|
e96fd1 |
+#echo "Migrating aliases..."
|
|
|
e96fd1 |
+#$PERL -I${INSTDIR} ${INSTDIR}migrate_aliases.pl $ETC_ALIASES >> $DB
|
|
|
e96fd1 |
#echo "Migrating fstab..."
|
|
|
e96fd1 |
#$PERL -I${INSTDIR} ${INSTDIR}migrate_fstab.pl $ETC_FSTAB >> $DB
|
|
|
e96fd1 |
echo "Migrating groups..."
|
|
|
e96fd1 |
diff -up MigrationTools-47/migrate_all_online.sh.patch6 MigrationTools-47/migrate_all_online.sh
|
|
|
e96fd1 |
--- MigrationTools-47/migrate_all_online.sh.patch6 2008-08-29 09:09:19.000000000 +0200
|
|
|
e96fd1 |
+++ MigrationTools-47/migrate_all_online.sh 2008-08-29 09:09:19.000000000 +0200
|
|
|
e96fd1 |
@@ -42,9 +42,9 @@ INSTDIR=/usr/share/migrationtools/
|
|
|
e96fd1 |
|
|
|
e96fd1 |
DB=`mktemp /tmp/nis.ldif.XXXXXX`
|
|
|
e96fd1 |
|
|
|
e96fd1 |
-if [ "X$ETC_ALIASES" = "X" ]; then
|
|
|
e96fd1 |
- ETC_ALIASES=/etc/aliases
|
|
|
e96fd1 |
-fi
|
|
|
e96fd1 |
+#if [ "X$ETC_ALIASES" = "X" ]; then
|
|
|
e96fd1 |
+# ETC_ALIASES=/etc/aliases
|
|
|
e96fd1 |
+#fi
|
|
|
e96fd1 |
#if [ "X$ETC_FSTAB" = "X" ]; then
|
|
|
e96fd1 |
# ETC_FSTAB=/etc/fstab
|
|
|
e96fd1 |
#fi
|
|
|
e96fd1 |
@@ -167,8 +167,8 @@ if [ "X$LDAP_PROFILE" = "Xyes" ]; then
|
|
|
e96fd1 |
echo "Creating DUAConfigProfile entry..."
|
|
|
e96fd1 |
$PERL -I${INSTDIR} ${INSTDIR}migrate_profile.pl "$LDAPHOST" >> $DB
|
|
|
e96fd1 |
fi
|
|
|
e96fd1 |
-echo "Migrating aliases..."
|
|
|
e96fd1 |
-$PERL -I${INSTDIR} ${INSTDIR}migrate_aliases.pl $ETC_ALIASES >> $DB
|
|
|
e96fd1 |
+#echo "Migrating aliases..."
|
|
|
e96fd1 |
+#$PERL -I${INSTDIR} ${INSTDIR}migrate_aliases.pl $ETC_ALIASES >> $DB
|
|
|
e96fd1 |
#echo "Migrating fstab..."
|
|
|
e96fd1 |
#$PERL -I${INSTDIR} ${INSTDIR}migrate_fstab.pl $ETC_FSTAB >> $DB
|
|
|
e96fd1 |
echo "Migrating groups..."
|