Sergio Bruder wrote:

> Using user account bruder (id=2, non root), trying to log in to 
>https://distro.conectiva.com.br/
> First try using bruder+SG0

This is pretty much guaranteed to fail. SG0 doesn't exist as such. The
-4 is indeed 'Sitegroup not found'.

> , second bruder+cnc, third only bruder (I compiled without sitegroup).

The second could have succeeded, the third would look for user bruder
in SG0 (not there, since not root). -6 means 'user not found'.

>  select * from host;
>  
>+----+-------------------------+------+-------+------+-------+------+--------+--------+-----------+
>  | id | name                    | root | style | info | owner | port | online | 
>prefix | sitegroup |
>  
>+----+-------------------------+------+-------+------+-------+------+--------+--------+-----------+
>  |  1 | distro.conectiva.com.br |    1 |     4 | auth |     0 |  443 |      1 |      
>  |         0 |

OK, distro.conectiva.com.br in SG0

>  +----+------+-------+------------+
>  | id | name | realm | admingroup |
>  +----+------+-------+------------+
>  |  1 | cnc  |       |          0 |
>  +----+------+-------+------------+

OK, SG1 is cnc

>  select id,username,extra,created,creator,sitegroup from person where lastname like 
>'%bruder%';
>  
>+----+----------+-----------------------------------+---------------------+---------+-----------+
>  | id | username | extra                             | created             | creator 
>| sitegroup |
>  
>+----+----------+-----------------------------------+---------------------+---------+-----------+
>  |  1 | admin    | Administrator account for Midgard | 0000-00-00 00:00:00 |       0 
>|         0 |
>  |  2 | bruder   |                                   | 2000-05-05 14:53:44 |       1 
>|         0 |
>  
>+----+----------+-----------------------------------+---------------------+---------+-----------+

User 'bruder' is not in SG1. I think that's the problem.

Emile


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

Reply via email to