This is an automated email from the git hooks/post-receive script.
mreynolds pushed a commit to branch 389-ds-base-1.3.9
in repository 389-ds-base.
The following commit(s) were added to refs/heads/389-ds-base-1.3.9 by this push:
new 2671222 Ticket 50028 - ds-replcheck -y option throws usage error
2671222 is described below
commit 267122260e13efa78dd3e27aae0fb3b70867d9f7
Author: Mark Reynolds <mreynolds(a)redhat.com>
AuthorDate: Thu Apr 4 12:43:13 2019 -0400
Ticket 50028 - ds-replcheck -y option throws usage error
Description: Using the password file option (-y) causes
a usage error to occur. The arg validation
needs to properly check for this option.
https://pagure.io/389-ds-base/issue/50028
Reviewed by: mreynolds(one line commit rule)
---
ldap/admin/src/scripts/ds-replcheck | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ldap/admin/src/scripts/ds-replcheck b/ldap/admin/src/scripts/ds-replcheck
index f482406..e18465d 100755
--- a/ldap/admin/src/scripts/ds-replcheck
+++ b/ldap/admin/src/scripts/ds-replcheck
@@ -1209,7 +1209,7 @@ def main():
elif (args.mldif is None and
(args.suffix is None or
args.binddn is None or
- (args.bindpw is None and args.prompt is False) or
+ (args.bindpw is None and (args.prompt is False and args.pass_file is None))
or
args.murl is None or
args.rurl is None)):
print("\n-------> Missing required options for online mode!\n")
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.