Use LDAP Groups as ACL Group Aliases in WackoWiki

1.November 2004 - 19:33

With this hack, your WackoWiki gets an ACL Group Alias for every groupOfName Object. So you can reuse your LDAP Groups in your Wiki.

  1. Put the file ldapgroups.php in your classes dir
  2. Customize it for your environment (LDAP connection parameters, DIT location of your Groups, eregi_replace lines to generate the User WikiNames)
  3. Create a file actions/ldapgroups.php with this content:
    <?php
      global $wakkaConfig;
      show_array($wakkaConfig["aliases"]);
    ?>
    
  4. 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 :-)

2 Responses to “Use LDAP Groups as ACL Group Aliases in WackoWiki”

You can follow any responses to this entry through the RSS 2.0 feed.

  1. a gravatar From Martin:

    ist im bugtracker ;)

  2. a gravatar From Robert Väth:

    Danke für den Hinweis!
    Genau danach habe ich gesucht, ich werds bei Zeit mal ausprobieren!

Comment this entry

Wanna have an icon? Create your Gravatar!