ldap_bind fails to bind when the password contains special characters
Open
Nobody has claimed this yet.
Bug
Extension: ldap
Status: Needs Triage
- Dominant language
- C
- Stars
- 40.4k
- Forks
- 8.1k
- Avg merge
- 2d 13h
- Merged PRs (30d)
- 96
Description
Description
Any ldap password that contains special characters such as "!", "_" or "&" fails to bind where stripping those characters from the password works.
Tested on PHP7.4 and PHP8.0
PHP Version
8.0.1
Operating System
Raspbian 11
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No source file or test is named. Start by reproducing ldap_bind with passwords containing "!", "_" and "&" on the reported PHP versions and Raspbian 11, then trace the LDAP extension entry point used by ldap_bind. Done means special-character passwords bind successfully without changing passwords and regression coverage exists for the reported cases.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- authentication
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100