PAPI Archivos

The PAPI authentication and authorization framework

PAPI@LISTSERV.REDIRIS.ES

Opciones: Vista Forum

Use Monospaced Font
Por defecto enseñar Text Part
Mostrar todas las cabeceras de correo

Mensaje: [<< Primero] [< Prev] [Siguiente >] [Último >>]
Tema: [<< Primero] [< Prev] [Siguiente >] [Último >>]
Autor: [<< Primero] [< Prev] [Siguiente >] [Último >>]

Print Responder
Subject:
Emisor:
Francisco Vivancos <[log in para visualizar]>
Reply To:
The PAPI authentication and authorization framework <[log in para visualizar]>
Fecha:
Fri, 26 Jun 2009 11:24:41 +0200
Content-Type:
text/plain
Parts/Attachments:
text/plain (187 lines)
Hola,

primero de todo decir que el post que puse ayer ya lo he solucionado, nada
mejor como dormir un poco y retomar las cosas por la maana temprano con la
cabeza serena.

el problema que tengo ahora es que cuando quiero entrar a la url papizada :
http://poa.localhost/glpi da un access forbidden(no hay permisos para esa
localizacion).
En el log de errores de apache tengo lo siguiente:

[Fri Jun 26 11:23:51 2009] [notice] [client 127.0.0.1] PAPI#5498_1246008231:
PoA::set_parameters# Servername = <poa.localhost>\n
[Fri Jun 26 11:23:51 2009] [notice] [client 127.0.0.1] PAPI#5498_1246008231:
PoA::set_parameters# Server_ID = <glpi>\n
[Fri Jun 26 11:23:51 2009] [warn] [client 127.0.0.1]
PAPI#5498_1246008231_glpi: Lcook is empty
[Fri Jun 26 11:23:51 2009] [notice] [client 127.0.0.1]
PAPI#5498_1246008231_glpi: Hcook is empty
[Fri Jun 26 11:23:51 2009] [warn] [client 127.0.0.1]
PAPI#5498_1246008231_glpi: Forbidden access to /glpi

por lo visto no encuentra ni la hkey ni la lkey pero estan estan puestas en
papi_conf.xml:
<HKey>7aae711d93ba0ed610f791614892f9ce</HKey>

<LKey>0ee1e5adc0847a62eaf55caa8a1f3f60</LKey>

ademas cuando arranca el apache imprime por pantalla que si las obtiene,
dejo aqui todo lo que imprime por pantalla:

$VAR1 = bless( {
                 'Global' => {
                               'CRC_Timeout' => '1800',
                               'String' => '',
                               'Accept_File' => './image_ok.png',
                               'RejUrlPatterns' => [],
                               'PassUrlPatterns' => [],
                               'filters' => [],
                               'Type' => 'Global',
                               'signoffLocs' => [],
                               'Debug' => '0',
                               'HttpAuth' => [],
                               'Req_DB' => '/usr/local/PAPI/PoA/req_DB',
                               'Hkey' => '7aae711d93ba0ed610f791614892f9ce',
                               'PoARw' => [],
                               'URL_Timeout' => '1800',
                               'hdRedirects' => [],
                               'formProc' => {},
                               'Lcook_Timeout' => '18000',
                               'Lkey' => '0ee1e5adc0847a62eaf55caa8a1f3f60',
                               'postRedirects' => [],
                               'RejPostPatterns' => [],
                               'url_redirects' => [],
                               'redirects' => [],
                               'RewUrlPatterns' => [],
                               'Pubkeys_Path' => '/usr/local/PAPI/PoA/KEYS',
                               'ases' => {
                                           'MyAS' => {
                                                     'desc' => 'PAPI usando
Apache-2.00',
                                                     'url' =>
'http://localhost/cgi-bin/AuthServer'
                                                   }
                                         },
                               'Reject_File' => './image_nok.png',
                               'cookieRejects' => [],
                               'Hcook_DB' => '/usr/local/PAPI/PoA/hcook_DB',
                               'PassPostPatterns' => []
                             },
                 'poa.localhost' => {
                                    'String' => '',
                                    'Accept_File' => './image_ok.png',
                                    'filters' => [],
                                    'glpi' => {
                                              'Filtered' => 1,
                                              'String' => '/glpi',
                                              'Accept_File' => './image_ok.png',
                                              'filters' => [
                                                             {
                                                               'reg' =>
'default',
                                                               'act' => 'reject'
                                                             }
                                                           ],
                                              'Type' => 'Location',
                                              'PoARw' => [],
                                              'URL_Timeout' => '1800',
                                              'hdRedirects' => [],
                                              'formProc' => {},
                                              'Auth_Location' =>
'PAPI/cookie_handler.cgi',
                                              'RejPostPatterns' => [],
                                              'postRedirects' => [],
                                              'url_redirects' => [],
                                              'port' => '80',
                                              'redirects' => [],
                                              'RewUrlPatterns' => [],
                                              'Loc_pattern' =>
qr/(?-xism:\\/glpi)/,
                                              'cookieRejects' => [],
                                              'PassPostPatterns' => [],
                                              'CRC_Timeout' => '1800',
                                              'RejUrlPatterns' => [],
                                              'PassUrlPatterns' => [],
                                              'signoffLocs' => [],
                                              'Debug' => '0',
                                              'HttpAuth' => [],
                                              'Req_DB' =>
'/usr/local/PAPI/PoA/req_DB',
                                              'Hkey' =>
'7aae711d93ba0ed610f791614892f9ce',
                                              'Independent' => 0,
                                              'Serv' => 'glpi',
                                              'Lkey' =>
'0ee1e5adc0847a62eaf55caa8a1f3f60',
                                              'Lcook_Timeout' => '18000',
                                              'Pubkeys_Path' =>
'/usr/local/PAPI/PoA/KEYS',
                                              'ases' => {
                                                          'MyAS' => {
                                                                    'desc'
=> 'PAPI usando Apache-2.00',
                                                                    'url' =>
'http://localhost/cgi-bin/AuthServer'
                                                                  }
                                                        },
                                              'Reject_File' =>
'./image_nok.png',
                                              'Hcook_DB' =>
'/usr/local/PAPI/PoA/hcook_DB'
                                            },
                                    'Type' => 'Server',
                                    'PoARw' => [],
                                    'URL_Timeout' => '1800',
                                    'hdRedirects' => [],
                                    'formProc' => {},
                                    'Auth_Location' =>
'PAPI/cookie_handler.cgi',
                                    'RejPostPatterns' => [],
                                    'postRedirects' => [],
                                    'url_redirects' => [],
                                    'port' => '80',
                                    'redirects' => [],
                                    'RewUrlPatterns' => [],
                                    'cookieRejects' => [],
                                    'PassPostPatterns' => [],
                                    'CRC_Timeout' => '1800',
                                    'RejUrlPatterns' => [],
                                    'PassUrlPatterns' => [],
                                    'signoffLocs' => [],
                                    'Debug' => '0',
                                    'HttpAuth' => [],
                                    'Req_DB' => '/usr/local/PAPI/PoA/req_DB',
                                    'Hkey' =>
'7aae711d93ba0ed610f791614892f9ce',
                                    'Independent' => 0,
                                    'Lkey' =>
'0ee1e5adc0847a62eaf55caa8a1f3f60',
                                    'Lcook_Timeout' => '18000',
                                    'Pubkeys_Path' =>
'/usr/local/PAPI/PoA/KEYS',
                                    'ases' => {
                                                'MyAS' => {
                                                          'desc' => 'PAPI
usando Apache-2.00',
                                                          'url' =>
'http://localhost/cgi-bin/AuthServer'
                                                        }
                                              },
                                    'Reject_File' => './image_nok.png',
                                    'Hcook_DB' => '/usr/local/PAPI/PoA/hcook_DB'
                                  }
               }, 'PAPI::Config' );
PAPI supposes that all protected resources are defined in Apache httpd.conf file
Checking the sections for those resources....
OK
1;
__END__

Alguien sabe que esta sucediendo?

Gracias.

Un Saludo.
Francisco.

ATOM RSS1 RSS2