Loading...
 
LDAP / Active directory

LDAP / Active directory


LDAP Authentication again

United States

Hi,
I'm trying to setup TIKI on Windows with ADS and have no luck

XAMPP 1.6.4 = Apache/2.2.6 (Win32) DAV/2 mod_ssl/2.2.6 OpenSSL/0.9.8e mod_autoindex_color PHP/5.2.4
TIKIWIKI 1.9.8.3

I read all entries( let say the most), but it didn't help.
- I setup as per doc
- I added :
$options"adminuser" = $tikilib->get_preference("auth_ldap_adminuser", "");
$options"adminpass" = $tikilib->get_preference("auth_ldap_adminpass", "");


Also for a comments from willdyke, could not find proper spot, lines 188-191 in 1.9.8.3 are comments and was not sure what lines to change.

Is there somebody that did it or at least can suggest steps to troubleshoot it?


> Is there somebody that did it or at least can suggest steps to troubleshoot it?

I'm having the same exact trouble and tried the same modifications you did. I believe the code has changed since those modifications were suggested. I found the same lines further on down in the code, but modifyin them didn't fix anything. I believe the problem is the same that others have suggested before --- that ADS requires an authenticated bind before anything else happens. How to fix this is a little beyond me at this point.

-Jeremy


Good news. I checked 1.10 out from CVS, and there seem to have been substantial modifications to the authentication code. By using the 1.10 code and following the instructions at the tiki docs EXACTLY, it works. I was never able to get it to work in 1.9.8.3. I found Microsoft's Netmon 3.1 to be an invaluable tool to find out the LDAP server's responses to troubleshoot my own mistakes. But like I said, follow the instructions for LDAP in the auth docs, and it should work without any modifications to the 1.10 code.

-Jeremy


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