[389-commits] ldap/admin
Noriko Hosoi
nhosoi at fedoraproject.org
Fri Jan 21 21:16:42 UTC 2011
ldap/admin/src/scripts/template-dn2rdn.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 466f6792ec6fdc02678424f99b4a8719e28e707a
Author: Noriko Hosoi <nhosoi at redhat.com>
Date: Fri Jan 21 13:12:00 2011 -0800
dn2rdn should respect the DB version info
The command line utility dn2rdn currently skips the db version
check and is forced to convert the index files. This patch
removes the force option "-f" to make sure that the utility
checks the db version.
diff --git a/ldap/admin/src/scripts/template-dn2rdn.in b/ldap/admin/src/scripts/template-dn2rdn.in
index f8232df..f9efeea 100755
--- a/ldap/admin/src/scripts/template-dn2rdn.in
+++ b/ldap/admin/src/scripts/template-dn2rdn.in
@@ -16,7 +16,7 @@ cd {{SERVERBIN-DIR}}
if [ $# -eq 0 ]
then
bak_dir={{BAK-DIR}}/reindex_`date +%Y_%m_%d_%H_%M_%S`
- ./ns-slapd upgradedb -D {{CONFIG-DIR}} -f -r -a "$bak_dir"
+ ./ns-slapd upgradedb -D {{CONFIG-DIR}} -r -a "$bak_dir"
else
echo "Usage: dn2rdn"
exit 1
More information about the 389-commits
mailing list