Thread:Extension talk:LDAP Authentication/LDAP group settings working with error?


 * Using wiki 1.19.3 LDAP extension ver 2.0b I am using LDAP directory (opendj - 2.4.5)
 * My set up works well and with no errors or problems without group settings.
 * When I include group settings It works, I am able to log in with the users in the group/s I include in the required array.
 * But When I test all other groups that are in the directory (even thought I include them in the excluded list) I get an error instead of user not allowed!
 * It seems to be working but not referring to the write message back?,


 * Error log file, it looks like the error is in searchgroup function, I don't know why it is continuing to search after it found it in the excluded group list, hope someone can help?

2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Entering getDomain 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Pulling domain from session. 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Entering getDomain 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Checking for excluded group membership 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Excluded groups: cn=group2,ou=people,dc=dsfmms,dc=org 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Checking against: 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Checking against: cn=group2,ou=people,dc=dsfmms,dc=org 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Found user in an excluded group. 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Entering strict. 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Entering getDomain 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Pulling domain from session. 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Entering getDomain 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Pulling domain from session. 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Returning true in strict. 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Entering allowPasswordChange 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Entering getDomain 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Pulling domain from session. 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Entering getDomain 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Pulling domain from session. 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Entering getDomain 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Pulling domain from session. 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Entering modifyUITemplate 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Entering getDomain 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Pulling domain from session. 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Entering getDomain 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Pulling domain from session. 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Entering getDomain 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Pulling domain from session. 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Entering getDomain 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Pulling domain from session. 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Entering getDomain 2013-01-08 17:01:23 FRODO TestWonderland1: 2.0c Pulling domain from session.

( ! ) Notice: Undefined offset: 1 in C:\wamp2132\www\TestWonderland1\extensions\LdapAuthentication\LdapAuthentication.php    on line 1665 Call Stack Time	Memory	Function	Location 1	0.0004	376512	{main}	..\index.php:0 2	0.0852	11058424	MediaWiki->run	..\index.php:58 3	0.0852	11058424	MediaWiki->main	..\Wiki.php:503 4	0.0861	11184704	MediaWiki->performRequest	..\Wiki.php:593 5	0.0896	11372600	SpecialPageFactory::executePath	..\Wiki.php:263 6	0.0938	12320888	LoginForm->execute	..\SpecialPageFactory.php:476 7	0.1557	18532656	LoginForm->processLogin	..\SpecialUserlogin.php:170 8	0.1557	18532656	LoginForm->authenticateUserData	..\SpecialUserlogin.php:722 9	0.1825	18589312	User->checkPassword	..\SpecialUserlogin.php:562 10	0.1826	18589344	LdapAuthenticationPlugin->authenticate	..\User.php:3118 11	0.3382	18600528	LdapAuthenticationPlugin->getGroups	..\LdapAuthentication.php:693 12	0.3739	18600992	LdapAuthenticationPlugin->searchGroups	..\LdapAuthentication.php:1530
 * Error Log in browser ... above the rendered page...


 * My Config

Log in / create account Login error Incorrect password entered. Please try again. Log in Don't have an account? Create an account. You must have cookies enabled to log in to TestWonderland1. Username: Password: Your domain: Remember my login on this browser (for a maximum of 180 days)
 * I used  turned off error reporting in the browser to see behind the error the message

Before moving to production application I would like to figure out the hidden error ? appreciate any help!