Net::LDAP & Groups
Gervase Markham
gerv at mozilla.org
Sat Apr 26 10:11:18 UTC 2003
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
More information about the developers
mailing list