Thread:Extension talk:LDAP Authentication/Fail to bind

Hello,

I start over and over and keep failing to connect my MediaWiki instance to my LDAP server.

I always get an 'Invalid password' message.

I am using MediaWiki 1.21 and LDap extension 2.0d.

Please find below the information I need to connect to the LDAP server using JXplorer on the Ubuntu server where the wiki instance is running, the config file and the logs issued when attempting a connection.

You can see that I obviously connect to the LDAP server since I retrieve details I try to log in with (Pierre Cart-Grandjean) in MediaWiki. But it still fails to authenticate it. Of course I am sure to type the right password. Any help will be most welcome.

Thanks, JXplorer

Host: iis.amadeus.net Protocal: LDAP v3 DSML Service: Base DN: DC=iis,DC=amadeus,DC=net Level: User + Password User DN: app-ncemagicdraw Password: *******

LocalSettings.php:

Log: 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Entering validDomain 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d User is using a valid domain (AMAIISDOM). 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Setting domain as: AMAIISDOM 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Entering getCanonicalName 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Username is: Pcartgrandjean 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Munged username: Pcartgrandjean 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Entering authenticate for username Pcartgrandjean 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Entering Connect 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Using TLS or not using encryption. 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Using servers: ldap://iis.amadeus.net:389 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d PHP's LDAP connect method returned true (note, this does not imply it connected to the server). 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Entering getSearchString 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Entering getUserDN 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Doing a proxy bind 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Created a regular filter: (sAMAccountName=Pcartgrandjean) 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Entering getBaseDN 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d basedn is not set for this type of entry, trying to get the default basedn. 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Entering getBaseDN 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:40 cubitus specificationswiki-mw_: 2.0d Using base: DC=iis,DC=amadeus,DC=net 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d userdn is: CN=Pierre CART-GRANDJEAN,OU=Staff,OU=Office,OU=Users,OU=NCE,DC=iis,DC=amadeus,DC=net 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Binding as the user 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Failed to bind as CN=Pierre CART-GRANDJEAN,OU=Staff,OU=Office,OU=Users,OU=NCE,DC=iis,DC=amadeus,DC=net 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Entering strict. 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Returning true in strict. 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Entering allowPasswordChange 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Entering modifyUITemplate 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Entering getDomain 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Pulling domain from session. 2013-09-12 09:29:41 cubitus specificationswiki-mw_: 2.0d Entering getDomain