Re: [PacketFence-users] R: Profile filtering using machine_account

2019-07-19 Thread Enrico Pasqualotto via PacketFence-users
Hi Fabrice, the filter machine_account != "" is working but check only the current connection. In my case PC done machine_auth during login screen and user_auth after login. I found the issue in file radius.pm, if you add this line: $options->{'last_connection_sub_type'} =

Re: [PacketFence-users] R: Profile filtering using machine_account

2019-07-19 Thread Fabrice Durand via PacketFence-users
Hello Enrico, https://github.com/inverse-inc/packetfence/blob/devel/docs/PacketFence_Installation_Guide.asciidoc#advanced-access-configuration Try that instead: machine_account != "" && ssid == Secure Regards Fabrice Le 19-07-18 à 17 h 29, Enrico Pasqualotto via PacketFence-users a

[PacketFence-users] R: Profile filtering using machine_account

2019-07-19 Thread Enrico Pasqualotto via PacketFence-users
By checking the code of radius.pm (where should create condition to profile selection) I can't saw the node_info loaded in option. Can be the issue why I'm not able to use node_info.machine_account inside advanced_filter? $options->{'last_connection_sub_type'} = $args->{'connection_sub_type'};