ldap/admin/src/scripts/db2ldif.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
New commits:
commit 4fc76f2bcbf339531aa96ef37406aa2efa524346
Author: German Parente <gparente(a)redhat.com>
Date: Mon May 9 17:50:47 2016 -0700
Ticket #48828 - db2ldif is not taking into account multiple suffixes or backends
https://fedorahosted.org/389/ticket/48828
Bug Description:
db2ldif script is not considering multiple options for include suffix,
exclude suffix and backend
Fix Description:
cumulate the multiple values so as to be taken into account
Reviewed by: nhosoi(a)redhat.com
Branch: master
Doc impact: no
diff --git a/ldap/admin/src/scripts/db2ldif.in b/ldap/admin/src/scripts/db2ldif.in
index e9f7f7e..b311590 100755
--- a/ldap/admin/src/scripts/db2ldif.in
+++ b/ldap/admin/src/scripts/db2ldif.in
@@ -104,11 +104,11 @@ do
h) usage
exit 0;;
Z) servid=$OPTARG;;
- n) benameopt="-n $OPTARG"
+ n) benameopt=$benameopt" -n $OPTARG"
required_param="yes";;
- s) includeSuffix="-s \"$OPTARG\""
+ s) includeSuffix=$includeSuffix" -s \"$OPTARG\""
required_param="yes";;
- x) excludeSuffix="-x \"$OPTARG\"";;
+ x) excludeSuffix=$excludeSuffix" -x \"$OPTARG\"";;
a) outputFile="-a \"$OPTARG\"";;
d) args=$args" -d \"$OPTARG\"";;
D) args=$args" -D \"$OPTARG\"";;