On Thu, Jul 19, 2001 at 07:30:32AM +0200, Emiliano wrote:
> Sergio Bruder wrote:
>
> > Because of that we compiled Midgard without sitegroup support.
> >
> > Now the only account that can login is admin (id 0). What's the
> > problem?
>
> Set LogLevel to debug and let someone try to log in. The reason will
> be logged (in numeric format only in 1.4.1 release) in the logfile. If
> you give me the number I think I'll be able to tell why.
>
> Emile
Using user account bruder (id=2, non root), trying to log in to
https://distro.conectiva.com.br/
First try using bruder+SG0, second bruder+cnc, third only bruder (I compiled without
sitegroup).
tail -n 4000 /var/log/httpd/error_log | grep -i midgard | grep -i auth | less
[Thu Jul 19 09:53:35 2001] [debug] mod_midgard.c(86): [client 200.250.58.147]
Midgard: basic auth failed (-4)
[Thu Jul 19 09:53:48 2001] [debug] mod_midgard.c(86): [client 200.250.58.147]
Midgard: basic auth failed (-6)
[Thu Jul 19 09:53:56 2001] [debug] mod_midgard.c(86): [client 200.250.58.147]
Midgard: basic auth failed (-6)
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 |
| 5 | distro.conectiva.com.br | 41 | 6 | | 2 | 2000 | 1 |
|| 0 |
| 6 | beta.conectiva.com | 41 | 5 | | 2 | 80 | 1 |
|| 0 |
:
:
select * from sitegroup;
+----+------+-------+------------+
| id | name | realm | admingroup |
+----+------+-------+------------+
| 1 | cnc | | 0 |
+----+------+-------+------------+
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 |
+----+----------+-----------------------------------+---------------------+---------+-----------+
Sergio Bruder
--
Coordena��o de Desenvolvimento - Projetos Especiais, Conectiva
http://www.conectiva.com.br, http://sergio.bruder.net, http://pontobr.org
-----------------------------------------------------------------------------
pub 1024D/0C7D9F49 2000-05-26 Sergio Devojno Bruder <[EMAIL PROTECTED]>
Key fingerprint = 983F DBDF FB53 FE55 87DF 71CA 6B01 5E44 0C7D 9F49
sub 1024g/138DF93D 2000-05-26
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]