PAPI Archivos

The PAPI authentication and authorization framework

PAPI@LISTSERV.REDIRIS.ES

Opciones: Vista Forum

Use Monospaced Font
Por defecto enseñar Text Part
Esconda cabeceras de correo

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

Print Responder
Received:
by LISTSERV.REDIRIS.ES (LISTSERV-TCP/IP release 14.5) with spool id 2372567 for [log in para visualizar]; Thu, 30 Aug 2007 12:58:31 +0200 from localhost (relay.rediris.es [130.206.1.100]) by listserv.rediris.es (Postfix) with ESMTP id E4B8C5C301 for <[log in para visualizar]>; Thu, 30 Aug 2007 12:48:30 +0200 (CEST) from relay.rediris.es ([127.0.0.1]) by localhost (relay.rediris.es [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id RVU9-0lUnFBs for <[log in para visualizar]>; Thu, 30 Aug 2007 12:48:26 +0200 (CEST) from us.es (mail.us.es [193.147.175.20]) by relay.rediris.es (RedIRIS) with ESMTP id 99B2D1C080 for <[log in para visualizar]>; Thu, 30 Aug 2007 12:48:26 +0200 (CEST) (qmail 15019 invoked from network); 30 Aug 2007 12:48:27 +0200 from unknown (HELO us.es) (192.168.2.13) by us.es with SMTP; 30 Aug 2007 12:48:27 +0200 (qmail 764 invoked from network); 30 Aug 2007 10:48:29 -0000 from unknown (HELO us.es) (127.0.0.1) by us.es with SMTP; 30 Aug 2007 12:48:29 +0200 (qmail 31454 invoked from network); 30 Aug 2007 12:48:28 +0200 from wifi137.cica.es ([log in para visualizar]) by us.es with (DHE-RSA-AES256-SHA encrypted) SMTP; 30 Aug 2007 12:48:28 +0200
Content-Type:
text/plain; charset=ISO-8859-1; format=flowed
Subject:
Date:
Thu, 30 Aug 2007 12:48:00 +0200
Emisor:
Francisco Jesús Jordano Jiménez <[log in para visualizar]>
Sender:
The PAPI authentication and authorization framework <[log in para visualizar]>
Reply-To:
The PAPI authentication and authorization framework <[log in para visualizar]>
Message-ID:
Received-SPF:
pass (relay.rediris.es: domain of [log in para visualizar] designates 193.147.175.20 as permitted sender)
Delivered-To:
MIME-Version:
1.0
User-Agent:
Thunderbird 2.0.0.6 (Macintosh/20070728)
Content-Transfer-Encoding:
8bit
X-Original-To:
X-Virus-Scanned:
by amavisd-new at relay.rediris.es
Parts/Attachments:
text/plain (43 lines)
Hi all,

   Ive found an unwanted feature in PAPI 1.4. Im using standar 
attribute separator (",") and value separator ("="), so i dont specify 
them in the config file.
In my case, when an attribute contains spaces, for example ou=Biblioteca 
Virtual Servicio Andaluz Salud, PAPI splits spaces as attribute 
separator, so i obtain non desired headers:

X-PAPIAttr-ou = Biblioteca
X-PAPIAttr-Virtual = Servicio
X-PAPIAttr-Andaluz = Salud

This problem is fixed applying to the PoA.pm file the next workaround:

sub build_attrList
{
       my $self=shift;
       my $str=shift;

       my $are='\s*,\s*';
       if (defined $self->{'AttSep'} &&  $self->{'AttSep'} ne "") {
               $are='\s*'.$self->{'AttSep'}.'\*';
       }
       my $ave='\s*=\s*';
       if (defined $self->{'ValSep'} &&  $self->{'ValSep'} ne "") {
               $ave='\s*'.$self->{'ValSep'}.'\*';
       }

       my @acomp=split (/@/,$str);
       my $asid=pop(@acomp);
       my $spsubj=join('@',@acomp);
       for my $atc (split (/$are/,$spsubj)) {
               push (@{$self->{'attrList'}}, split (/$ave/,$atc,2));
       }
       push (@{$self->{'attrList'}},("PAPIAuthServer",$asid));
}


Hope this help someone :P

Best regards.

ATOM RSS1 RSS2