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 !


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting