> I am using 1.4beta4 (buggy, I know) for testing. I created a page in my site
> that requires authentication (pages above it do not). I created a new group
> using group admin, and added a user to that group. The group admin would not
> show that user under my new group, so I manually updated the tables to place
> the new user in the new group (is this a bug in the admin site?).
>
> When I hit the page I get prompted for a login and password, but I am unable
> to login using the new user. I have gone through the online docs, and the
> archives. It appears that since the user is in SG0 that they should login as
> username+0 and then their password. This doesn't work.
>
> Have I missed something, or is this part of the beta4 problems? (I'm
> thinking I missed something)
It's the latter. Phew!
Adding users to SG0 will do no good. Only root users can usefully be
in SG0 groups since they're the only ones that can be logged in and
remain in SG0. username+0 doesn't work either, it is named SG0 since it
has no name but ID 0. The core code has checks to prevent you from
adding cross-sitegroup resources -- in this case I would expect
mgd_errstr to report a 'sitegroup violation' when you tried to add the
group/user.
When logging into a site without specifying a sitegroup by the
extension to the username, the sitegroup you'll be in defaults to the
SG of the host record you're accessing. For SG0 you _must_ specify an
existing SG since you're never allowed to be in SG0 if you're not
root.
Emile
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]