Public bug reported:

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>.


1. 
https://autopkgtest.ubuntu.com/results/autopkgtest-kinetic/kinetic/amd64/p/python-bonsai/20220516_170521_8990d@/log.gz

** Affects: python-bonsai (Ubuntu)
     Importance: Low
     Assignee: Andreas Hasenack (ahasenack)
         Status: In Progress


** Tags: bitesize

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1973756

Title:
  Incorrect ldapwhoami parameter in dep8 test

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-bonsai/+bug/1973756/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to