Hey,
At work, we are using dokuwiki + LDAP for authentication. We (and probably many others) decided to make a group hierarchy to set whether a user is allowed access to the wiki or not. However, this variable is not available in the default code. This would make a nice add-on. In fact, it's already recommended on
http://wiki.splitbrain.org/wiki:auth:ldap by Dmitry Cherniachenko. In our situation, we use that gid to specifiy an ldap query in the configuration file so only people in a specific group are allowed access.
Attached you will see the "patch" (just one rule) to make this happen. Would be a nice addition with the new release upcomming. I don't think it's gonna break anything at all for users that won't use this variable, and for lot's of people, it would make a nice addition.
wouter@wouter-desktop:~/dokuwiki-2007-06-26b$ diff -u inc/auth/ldap.class.php.orig inc/auth/ldap.class.php
--- inc/auth/ldap.class.php.orig 2008-02-19 14:36:18.000000000 +0100
+++ inc/auth/ldap.class.php 2008-02-19 14:37:02.000000000 +0100
@@ -182,6 +182,7 @@
// general user info
$info['dn'] = $user_result['dn'];
+ $info['gid'] = $user_result['gidnumber'][0];
$info['mail'] = $user_result['mail'][0];
$info['name'] = $user_result['cn'][0];
$info['grps'] = array();
wouter@wouter-desktop:~/dokuwiki-2007-06-26b$