View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012556 | mantisbt | authentication | public | 2010-11-23 13:27 | 2011-08-05 02:41 |
| Reporter | predated | Assigned To | atrol | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | no change required | ||
| OS | Windows | OS Version | Server 2008 | ||
| Product Version | 1.2.3 | ||||
| Summary | 0012556: SYSTEM WARNING: ldap_search(): Search: Operations error | ||||
| Description | Unable to authenticate to Active Directory LDAP using config below: / LDAP Login Settings / | ||||
| Steps To Reproduce | Attempt to log in to Mantis with any ID. | ||||
| Additional Information | I just upgraded to 1.2.3 this morning. I was 1.2.2 previously, and I was getting the same results. I did modify core/ldap_api.php manually to set LDAP_OPT_PROTOCOL_VERSION to 3, and LDAP_OPT_REFERRALS to 0. These changes had no effect on the error. I have other applications authentication to LDAP on this same server, using the same settings (wordpress, dokuwiki, drupal). Log file entry: | ||||
| Tags | No tags attached. | ||||
|
I am running LDAP on AD without any problems for months. Are you sure you are using the exact same parameters for your other apps ? you wrote: $g_ldap_bind_pw but the actual parameter is $g_ldap_bind_passwd, is that a typo ? I never had the case where ldap_search failed, but if problem persists, maybe adding a call to ldap_error in ldap_api after the failed search may help. |
|
|
Silly me. Guess I needed to go over my config file 1001 times, instead of 1000. It was just that little typo that cost me hours of frustration and an erroneous bug report. Thanks dregad. |
|
|
Heh. ;-) |
|
|
atrol, maybe you should mark this as resolved... |
|
|
thanks Damien |
|