ldap authentication fails to connect for a straight bind
Bug #668589 reported by
John Franklin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mediawiki-extensions (Ubuntu) |
Fix Released
|
Low
|
Thorsten Glaser |
Bug Description
Binary package hint: mediawiki-
System: Karmic
Package version 1.6
Expected: successful sign-on
Actual: Inability to connect to LDAP server and searches for "cn=Resource id #72" when it should be "cn=jsmith"
There are two basic programming bugs that cause this bug to happen.
1. The function $this-connect() sets the $this->ldapconn as a side-effect and returns nothing, but the caller attempts to assign the returned (nil) value to $this->ldapconn.
2. A call to getSearchString() incorrectly sends ($this->ldapconn, $username) when the function is expecting only ($username).
Apply the attached patch to fix both.
Related branches
tags: | added: patch |
Changed in mediawiki-extensions (Ubuntu): | |
status: | In Progress → Fix Committed |
To post a comment you must log in.
Forwarded this upstream: http:// www.mediawiki. org/wiki/ Extension_ talk:LDAP_ Authentication# Too_many_ arguments_ passed_ to_getSearchStr ing_in_ userExists_ 2374
It looks like the first issue has been fixed in trunk