Loading...
 
Architecture / Installation

Architecture / Installation


LDAP User Auth

posts: 6

Need to authenticate using LDAP. I set the "host, port, scope, and base DN" as I have in other applications and I get a successful auth but the login page comes up blank after logging in as a user. Are there any other parameters that need to be set to get LDAP auth with Pear working correctly in tiki? I have looked at the documentation on the other parameters. Most of them are not an option. We have configurations for other applications working using the parameters mentioned previously. I need to be able to dump all users into a default predefined group in tiki.

Conditions are such that the users should by default be put into the registered group within tiki. Due to our ldap configuration there is no way to put all users into a single group. Do not want to try and munge the tiki config to include groups for all these different users from ldap. Want them all dumped into a single predefined group that exists in tiki (registered).

Any one else with success with this type of situation? There are currently over 100 groups in our ldap configuration so trying to setup each one in tiki or having it auto create them is un-realistic from a management point of view.

Thanks for the help.

Rob

posts: 14

For your blank page problem, I have seen similar issues and had to define a limit to the number of valid entries being returned, since we also have 100s of groups too..

//Near line 284 in fetchData function in LDAP.php at \www\tiki\lib\pear\Auth\Container\ldap.php

$func_params = array($this->conn_id, $search_basedn, $filter, array($this->options'userattr', 10));

Search for a similar line in your existing install to compare the edits I did.

Regarding user/group management, I didn't validate a user against an ldap group, but I guess with a similar php code, one can do such authentication to allow/prevent users from accessing certain confidential pages. I only left a general ldap auth and made local tiki user groups for page permission management.

hope this helps,
--Hemang
PS: I use easyphp for my installation on winxp for my intranet


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