With this hack, your WackoWiki gets an ACL Group Alias for every groupOfName Object. So you can reuse your LDAP Groups in your Wiki.
- Put the file ldapgroups.php in your classes dir
- Customize it for your environment (LDAP connection parameters, DIT location of your Groups, eregi_replace lines to generate the User WikiNames)
- Create a file actions/ldapgroups.php with this content:
<?php global $wakkaConfig; show_array($wakkaConfig["aliases"]); ?>
- Add this lines at end the of your wakka.config.php:
# Changes for ldap-groups include("classes/ldapgroups.php"); $wakkaConfig["aliases"] = add_ldap_groups_to_array($wakkaConfig["aliases"]);
Now you can create an admin page with the action {{ldapgroups}} to display all possible ACL Group aliases.
Good luck




9.November 2004 - 05:28
ist im bugtracker
20.November 2004 - 03:36
Danke für den Hinweis!
Genau danach habe ich gesucht, ich werds bei Zeit mal ausprobieren!