Loading...
 
LDAP / Active directory

LDAP / Active directory


line 192 of ldap.php

Ireland

Hi All,

Cannot connect to the same LDAP server that I am using for MediaWiki and other software...

I am getting:

Connect Host: ldap://iv-pdc01.MYDOMAIN.EXT:389. Binddn: sAMAccountName=MYDOMAIN.EXT\somename,CN=Users,CN=stage,CN=Users,dc=LDAP,dc=MYDOMAIN,dc=EXT at line 192 in /var/www/RgiTikiwiki/lib/auth/ldap.php

any ideaS ?

Ireland
the LDAP that I am using work fine for other applications... thanks

Ireland

I forgot to add also this error from the logs:

Error: Bind failed: Invalid credentials: LDAP_INVALID_CREDENTIALS at line 203 in /var/www/RgiTikiwiki/lib/auth/ldap.php


Ireland

solved just changing the configuration (without the patch).

The problem was in some parameters, specially in base dn used as "search filter":

CN=stage,CN=Users,dc=LDAP,dc=MYDOM,dc=MYEXT -> KO

dc=MYDOM,dc=MYEXT -> OK

Thanks !