Hi, following this post https://www.mail-archive.com/packetfence-users@lists.sourceforge.net/msg15338.html I managed to get it (almost) working The final missing piece is the fact that when the Firewall tries to autheticate the device using the username/password provided by post is sets
NAS-Port-Type => Virtual
This confuses packetfence which thinks this is a CLI connection and REJECTS it

Commenting out this section ./pf/Connection.pm
        if ($nas_port_type =~ /^virtual/i) {
            $self->transport("Virtual");
            $self->isCLI($TRUE);
        }

The type falls back to Wired and Packetfence accepts the credentials

How can I rewrite/suppress/ignore the Nas-Port-Type attribute or force the connection type to not be considered CLI?
--

*Cristian Mammoli*
Network and Computer Systems Administrator

T.+39 0731719822
www.apra.it <https://www.apra.it>

Apra Spa
<https://www.apra.it/>
linksocial

*Avviso sulla tutela di informazioni riservate.* Questo messaggio è stato spedito da Apra spa o da una delle aziende del Gruppo. Esso e gli eventuali allegati, potrebbero contenere informazioni di carattere estremamente riservato e confidenziale. Qualora non foste i destinatari designati, vogliate cortesemente informarci immediatamente con lo stesso mezzo ed eliminare il messaggio e i relativi eventuali allegati, senza trattenerne copia.

_______________________________________________
PacketFence-users mailing list
PacketFence-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to