Home » Authentication » Auth » Bug #1813
Anonymous BIND Breaks for 1.3.0r2
Details
| Submitted | 2004-07-07 18:34 UTC |
|---|---|
| From | brandon at osuosl dot org |
| Status | Closed |
| Package | Auth |
| PHP Version | 4.3.4 |
| OS | Debian Unstable |
| Roadmaps | (Not assigned) |
Comments
[2004-07-07 18:34 UTC] brandon at osuosl dot org
Description:
------------
After upgrading to 1.3.0r2 the simple demo app given in the Documentation breaks with my LDAP server (of course I modified it to use my specific DN).
The source code can be found here:
http://abe.osuosl.org/~philips/auth/index.phps
It works just dandy with r1 but after the upgrade things break one of two ways:
I tried with no version number in the param array, this lead to:
'Auth_Container_LDAP: Could not bind to LDAP server. '
When I tried adding the version number the getAuth() method never returns anything other than null.
But with 1.3.0r1 everything works dandy, either way.
I don't have time to dig into the source today, but I will if I get time. Hope this helps.
Reproduce code:
---------------
$param = array(
'url' => 'ldaps://ldap.osuosl.org',
'basedn' => 'ou=People,dc=osuosl,dc=org',
'version' => 3,
'userscope' => 'one',
'userattr' => 'uid');
[2004-07-09 03:29 UTC] brandon at osuosl dot org
This is the actual source code. Sorry about the mistake.
https://abe.osuosl.org/~philips/auth/index.phps
[2004-09-02 21:05 UTC] brandon at osuosl dot org
CVS fixes the issue....