Thread:Extension talk:LDAP Authentication/authentication successful but it username wont appear at the top right hand portion of the welcome page

Hi Ryan,

We're using:

Mediawiki 1.19

LDAP Extension trunk Version

but only the two administrators I have created at the start of LDAP is being logged in.

here is my configuration file

and the debug log i get is

2012-07-28 09:23:46 wiki: 2.0a Entering validDomain 2012-07-28 09:23:46 wiki: 2.0a User is using a valid domain (testdomain). 2012-07-28 09:23:46 wiki: 2.0a Setting domain as: testdomain 2012-07-28 09:23:46 wiki: 2.0a Entering getCanonicalName 2012-07-28 09:23:46 wiki: 2.0a Username is: testuser 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Munged username:testuser 2012-07-28 09:23:46 wiki: 2.0a Entering authenticate for username testuser 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Entering Connect 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Using TLS or not using encryption. 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Using servers: ldap://server1.x.y:389 ldap://server2.x.y:389 ldap://server3.x.y:389  ldap://server4.x.y:389 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a PHP's LDAP connect method returned true (note, this does not imply it connected to the server). 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Entering getSearchString 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Doing a straight bind 2012-07-28 09:23:46 wiki: 2.0a userdn is: testuser@testdomain 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Binding as the user 2012-07-28 09:23:46 wiki: 2.0a Bound successfully 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Entering getUserDN 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Created a regular filter: (=testuser) 2012-07-28 09:23:46 wiki: 2.0a Entering getBaseDN 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a basedn is not set for this type of entry, trying to get the default basedn. 2012-07-28 09:23:46 wiki: 2.0a Entering getBaseDN 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a basedn is not set. 2012-07-28 09:23:46 wiki: 2.0a Using base: 2012-07-28 09:23:46 wiki: 2.0a Couldn't find an entry 2012-07-28 09:23:46 wiki: 2.0a Fetched UserDN: 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Entering getGroups 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Entering checkGroups 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Entering getPreferences 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Authentication passed 2012-07-28 09:23:46 wiki: 2.0a Entering updateUser 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Entering getDomain 2012-07-28 09:23:46 wiki: 2.0a Pulling domain from session. 2012-07-28 09:23:46 wiki: 2.0a Saving user settings.

please help me. it seems that its not automatically creating a local user.

-ron