[dokuwiki] ldap group as superuser?

  • From: "Paul Lemke" <P.Lemke@xxxxxxxxxxxxx>
  • To: <dokuwiki@xxxxxxxxxxxxx>
  • Date: Thu, 27 Apr 2006 10:47:05 -0500

Hello all, 
I'm a dokuwiki noob and in need some help (big surprise eh? :) ). 

I installed DW and am using ldap (active directory) to authenticate my
users. That works just fine. DW also captures the groups each user is in
also (I made sure this worked by printing out the grps array in the ldap
class). 

The problem is... I want to set the 'superuser' to be one of those ldap
groups. But when I set the superuser to this:
$conf['superuser']    = '@Web%20Admins'; 
I don't see the admin box on any page when I log in with a user that is
in that group. When I set the superuser to the login name instead of the
group, it works just fine. 

I'm sure this is just a typo on my part... or am missing something that
isn't in the documentation. My config looks like this: 

$conf['useacl']      = 0;                
$conf['openregister']= 0;                
$conf['passcrypt']   = 'ssha';           
$conf['defaultgroup']= 'user';           
$conf['superuser']    = '@Web%20Admins';

$conf['useacl']      = 1;               
$conf['authtype']    = 'ldap';          
$conf['auth']['ldap']['server']      = 'domcon1';
$conf['auth']['ldap']['usertree']    =
'OU=AD,OU=IT,dc=labsafety,dc=com';
$conf['auth']['ldap']['binddn']         = 'username';
$conf['auth']['ldap']['bindpw']     = '**********';

$conf['auth']['ldap']['userfilter']  = "(sAMAccountname=%{user})";
$conf['auth']['ldap']['referrals']   = 0;
$conf['auth']['ldap']['version']     = 3;
$conf['auth']['ldap']['mapping']['name']  = 'displayname';
$conf['auth']['ldap']['mapping']['grps']  = array('memberof' =>
'/CN=(.+?),/i');
$conf['auth']['ldap']['debug']      = true;

I don't have any entries in the acl.auth.php except for the default. I'm
running the latest stable version (3-09-06).

Does anyone have any thoughts on what my issue might be? 
Thanks for all the help!
Paul 

--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist

Other related posts: