Loading...
 

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.

Why Register?

Register at tiki.org and you'll be able to use the account at any *.tiki.org site, thanks to the InterTiki feature. A valid email address is required to receive site notifications and occasional newsletters. You can opt out of these items at any time.