[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-directory-commits
Subject:    [389-commits] ldap/admin
From:       Noriko Hosoi <nhosoi () fedoraproject ! org>
Date:       2011-01-21 21:16:42
Message-ID: 20110121211642.5182C120270 () lists ! fedorahosted ! org
[Download RAW message or body]

 ldap/admin/src/scripts/template-dn2rdn.in |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 466f6792ec6fdc02678424f99b4a8719e28e707a
Author: Noriko Hosoi <nhosoi@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


--
389 commits mailing list
389-commits@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-commits
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic