Loading...
 
LDAP / Active directory

LDAP / Active directory


Group authentification

Hi

My ldap connection works great.
However all the users of the AD can acces to the wiki.
I want that only the members of the group X( active directory)
log in the wiki.

where can i put this filter ?

I'm using tikiwiki 4.2

thanks.

So far I know - no - But you can always tune the permission so that only users of the group can see things

If you can modify the code
in lib/userslib.php
after $this->validate_user_ldap(
add somethinbg like that
$userGroups = $tikilib->get_user_groups($user);
and check if your group is in userGroups

Good luck


Thanks
however the function get_user_groups returns the tiki groups . I need in this case the Active directory groups of the user.

Do you know what is the function?


AD groups can be made to sync into tiki-groups, see LDAP config for groups.

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