View Issue Details

This bug affects 1 person(s).
 2
IDProjectCategoryView StatusLast Update
09035Bug reportsAuthenticationpublic2014-05-25 22:00
Reportermfaber Assigned Tomfaber  
PrioritynormalSeveritypartial_block 
Status closedResolutionfixed 
Product Version2.05+ 
Target Version2.05+Fixed in Version2.05+ 
Summary09035: LDAP plugin: search and bind not working for MS AD
Description

Authentication using the LDAP-Plugin when on MS AD-LDAP-Server is not working if user-OU is not part of the base-dn.

PHP-warning: "ldap_search: Operation Error"

Known problem with f**ing MS AD....see: http://stackoverflow.com/questions/6222641/how-to-php-ldap-search-to-get-user-ou-if-i-dont-know-the-ou-for-base-dn

Additional Information

adding
ldap_set_option($ldapconn, LDAP_OPT_REFERRALS, 0);

after //search for user (approximately line 256 in authldap.php) seem to solve it.

TagsNo tags attached.
Bug heat2
Complete LimeSurvey version number (& build)140514
I will donate to the project if issue is resolvedNo
BrowserFF
Database type & versionMSSQL
Server OS (if known)Win Server 2008 R2
Webserver software & version (if known)Apache 2.4.9
PHP Version5.4.27

Users monitoring this issue

There are no users monitoring this issue.

Activities

mfaber

mfaber

2014-05-19 14:12

reporter   ~29977

Fix committed to master branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=14209

mfaber

mfaber

2014-05-19 14:15

reporter   ~29979

Fix committed to 2.06 branch: http://bugs.limesurvey.org/plugin.php?page=Source/view&id=14211

mfaber

mfaber

2014-05-19 14:17

reporter   ~29981

Added an option in plugin settings

Related Changesets

LimeSurvey: master c2d78123

2014-05-18 15:47:03

mfaber


Committer: mfaber Details Diff
Fixed issue 09035: LDAP-search and bind not working with MS ActiveDirectory

Dev: AD needs referrals disabled. Added option in
Dev: plugin settings
Affected Issues
09035
mod - application/core/plugins/AuthLDAP/AuthLDAP.php Diff File

LimeSurvey: 2.06 a1aebd63

2014-05-18 15:47:03

mfaber


Committer: mfaber Details Diff
Fixed issue 09035: LDAP-search and bind not working with MS ActiveDirectory

Dev: AD needs referrals disabled. Added option in
Dev: plugin settings
Affected Issues
09035
mod - application/core/plugins/AuthLDAP/AuthLDAP.php Diff File

Issue History

Date Modified Username Field Change
2014-05-14 19:35 mfaber New Issue
2014-05-18 17:47 mfaber Assigned To => mfaber
2014-05-18 17:47 mfaber Status new => assigned
2014-05-19 14:12 mfaber Changeset attached => LimeSurvey master c2d78123
2014-05-19 14:12 mfaber Note Added: 29977
2014-05-19 14:12 mfaber Resolution open => fixed
2014-05-19 14:15 mfaber Changeset attached => LimeSurvey 2.06 a1aebd63
2014-05-19 14:15 mfaber Note Added: 29979
2014-05-19 14:17 mfaber Note Added: 29981
2014-05-19 14:17 mfaber Status assigned => resolved
2014-05-19 14:17 mfaber Fixed in Version => 2.05+
2014-05-25 22:00 c_schmitz Status resolved => closed