stable

Clone or download

Read-only

request #10422: Referral references are not taken into account when querying LDAP in Python code

python-ldap library appends failed referral references to the results. This behavior breaks Tuleap code when only one result to a query is expected, as a consequence legitimate users get their accesses denied. This behavior of python-ldap is not, as of today, mentionned in the documentation [1] but it is expected [2]. [1] https://www.python-ldap.org/doc/html/ldap.html#ldap.LDAPObject.search [2] https://mail.python.org/pipermail/python-ldap/2014q1/003350.html Change-Id: Icfdcc08c5f5c35104e05e1563ec0ceb11b6aeb4a

Modified Files

Name
M src/utils/svn/codendildap.py +7 −4 Go to diff View file