Net::LDAP & Groups

Bennett, Paul Paul_Bennett at nrgn.com
Mon Apr 28 18:19:44 UTC 2003


Thanks Gerv,

I think I screwed up the admin user def when I installed.  A re-install
cured it.

Thanks again,

Paul

-----Original Message-----
From: Gervase Markham [mailto:gerv at mozilla.org] 
Sent: Saturday, April 26, 2003 6:11 AM
To: developers at bugzilla.org
Subject: Re: Net::LDAP & Groups

Bennett, Paul wrote:
> I just set up Bugzilla v2.16.2 and revamped the code in CGI.pl to use
> Net::LDAP to hit an OpenLDAP server.  It works pretty good, but I'm having
> troubles with the UserInGroup().  In particular the tweakparams &
> creategroups groups although there may be other groups.  Using mysql
> commands, I can see that my user is in userregexp field of the groups
table
> and the isactive bit is set.  Also my user matches the one displayed at
the
> bottom right.  Even if I put ".*" in the User RegExp field it doesn't
allow
> access.  But it works going to the editusers.cgi.

The UserRegexp field in 2.16.2 applies only at account creation time. 
You need to add your users to tweakparams manually.

Gerv

----
To view or change your list settings, click here:
<http://bugzilla.org/cgi-bin/mj_wwwusr?user=paul_bennett@nrgn.com>



More information about the developers mailing list