Public bug reported:

Binary package hint: mediawiki-extensions

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.

** Affects: mediawiki-extensions (Ubuntu)
     Importance: Undecided
         Status: New

-- 
ldap authentication fails to connect for a straight bind
https://bugs.launchpad.net/bugs/668589
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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

Reply via email to