Incorrect ldapwhoami parameter in dep8 test
Bug #1973756 reported by
Andreas Hasenack
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-bonsai (Ubuntu) |
Fix Released
|
Low
|
Andreas Hasenack |
Bug Description
python-bonsai's dep8 test at some point calls ldapwhoami like this:
ldapwhoami -Y DIGEST-MD5 -h bonsai.test -U admin -w p@ssword
ldapsearch -h bonsai.test -b "" -s base 'objectclass=*' -x -LLL +
The -h parameter, for host, no longer exists, and the above fails[1] with:
ldapwhoami: unrecognized option -�
Since the test script is not run with `set -e`, and the exit status is not checked, this failure is silently ignored.
The -h <host> parameter should be replaced with -H ldap://<host>.
tags: | removed: server-todo |
To post a comment you must log in.
It seems this and openldap are the only affected packages:
https:/ /codesearch. debian. net/search? q=ldap% 28search% 7Cmodify% 7Cpasswd% 7Cwhoami% 29.*-h+ path%3Adebian% 2F&literal= 0