Hi all,

I am sorry if this is a stupid simple question but I don't know where to look for the answer.

I want my packetfence to authenticate users with my radius server only if they are not from my domain. It means that their usernames will contain "@" and will not contain "@ens-cachan.fr".


How must I declare the rule. I use this in packtfence 3.6 by modifiying radius.pm file with those verifications:

(($username =~ /^.*\@.+/) && ($username !~ /^.*\@ens-cachan.fr/))


How do I translate this on the web interfaces with Packetfence 4.3, here is what I tried:

[RAD1 rule invites]
description=Authentifications des externes: eduroam
match=all
action0=set_role=invites
action1=set_access_duration=3D
condition0=username,matches regexp,/^.*\@.+/x

But It doesn't work. There is a radius authentication attempt whatever the username.


Thanks for your help.

Sabrina Louison-François
Ingénieure Réseaux et Télécoms
Direction des Systèmes d'Information
École normale supérieure de Cachan
61, avenue du Président Wilson
94235 Cachan cedex
tél : 01 47 40 74 24




------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce.
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to