Rogaty wrote:
> 
> Hi!
> I'm loosing my mind. I have problems with adding person to a group and with
> authenticating people from PERSON TABLE.
> I configured midgard with sitegroups (for future purposes) but I haven't
> created one (sitegroup) yet.
> I created 'Neoplus Admins' group (after logging as root);

You must create the admin group while being in that sitegroup, so if you
created
a new sitegroup 'xx', you'd log on as 'admin*xx' before creating the
admin group.
I think Asgard does this for you by default.

> I would like to
> attach those two members to this group. But I can't. Asgard tells me about
> 'access denied'.

> *************************** 2. row ***************************
> id: 2
> username: urukhai
> password: rVa3F8q4Azly.
> firstname: Blazej
> lastname: Maciaszek
> [...]
> created: 2001-01-30 10:39:48
> creator: 1
> pgpkey:
> sitegroup: 0
> *************************** 3. row ***************************
> id: 3
> username: rogaty
> password: **mandragora
> firstname: Maciej
> lastname: Prawda
> [...]
> created: 2001-01-30 10:45:53
> creator: 1
> pgpkey:
> sitegroup: 0
> ************************************************************

These users can only be root. Only root users can be in SG0, and all
other users
must not be in SG0.

> table GRP:
> *************************** 1. row ***************************
> id: 1
> name: VMUC Admins
> official: VMUC Corp. Web Site Administrators
> [...]
> owner: 0
> sitegroup: 0
> *************************** 2. row ***************************

Groups in SG0 have little meaning since everyone in SG0 must be root. No
access restrictions enforced, so groups not needed.

> table MEMBER:
> *************************** 1. row ***************************
> id: 1
> uid: 1
> gid: 0
> extra:
> info:
> sitegroup: 0
> ************************************************************

This defines a root user. The user must exist in SG0, the membership
record must be in SG0, and the gid set to the (fictional) group 0.

For an admin user of sitegroup xx, you'd have (all number arbitrary):

sitegroup: (name='xx', id=5, admingroup=81)
person: (id=213, sitegroup=5)
grp: (id=81, sitegroup=5)
member: (uid=213, gid=81, sitegroup=5)

For an arbitrary (non-admin user), just remove the member record that
puts him in the admin group for that sitegroup.

Emile

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to