View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0010617 | mantisbt | ldap | public | 2009-06-23 07:15 | 2010-04-23 23:21 |
| Reporter | lone | Assigned To | vboctor | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | duplicate | ||
| Product Version | 1.1.7 | ||||
| Summary | 0010617: LDAP login not work on AD | ||||
| Description | --- LDAP ---------$g_login_method = LDAP; 使用LDAP 所查到的email address 或 mantis 資料庫中的$g_use_ldap_email = ON; The LDAP Protocol Version, if 0, then the protocol version is not set.$g_ldap_protocol_version = 3; // AD 需使用 LDAP V3 | ||||
| Steps To Reproduce | will show error: SYSTEM WARNING: ldap_get_entries(): supplied argument is not a valid ldap result resource SYSTEM WARNING: ldap_free_result(): supplied argument is not a valid ldap result resource | ||||
| Additional Information | need to add [ldap_set_option( $t_ds, LDAP_OPT_REFERRALS, 0); if ( $t_protocol_version > 0 ) { | ||||
| Tags | patch | ||||
|
It seems to me that your ldap bind DN is not in the correct form. Should probably be something like uid=me,dc=abc,dc=com,dc=tw. Check if binding actually succeeds. Using Wireshark (http://www.wireshark.org/) on the LDAP connection should give you a good idea of what happens and what not. |
|
|
$g_ldap_bind_dn = 'uid=user,dc=abc,dc=com,dc=tw'; |
|
|
it's the same issue of http://www.mantisbt.org/bugs/view.php?id=7620 |
|