Evan Linwood
2016-06-20 13:50:05 UTC
Hello,
I am wanting to register devices automatically upon 802.1x authentification, but can't get pf auto registration working.
I've seen a few references to modifying /usr/local/pf/lib/pf/vlan/custom.pm and uncommenting the code for shouldAutoRegister, including a relatively recent link here:
http://comments.gmane.org/gmane.comp.networking.packetfence.user/7561
My first problem is that there is no 'vlan' folder in my pf installation under the /usr/local/pf/lib/pf folder.
I've attempted to try my luck modifying the copies of custom.pm under the /usr/local/pf/lib/pf/role and /usr/local/pf/lib/pf/radius folders to include the code for shouldAutoRegister, but this hasn't worked.
I have my switch configured in 'Registration' mode.
802.1x authentification itself is working fine, I'm getting the following pf radius audit messages:
MAC Address xx:xx:xx:xx:xxxx
Auth Status Accept
Auth Type EAP
Auto Registration no
Calling Station ID xx:xx:xx:xx:xxxx
Computer name iPhone
EAP Type MS-CHAP-V2
Event Type Radius-Access-Request
IP Address
Is a Phone no
Node status unreg
Domain
Profile
Realm default
Reason
Role
Source
Stripped User Name testuser
User Name testuser
Unique ID
Any help is much appreciated - thanks Evan
I am wanting to register devices automatically upon 802.1x authentification, but can't get pf auto registration working.
I've seen a few references to modifying /usr/local/pf/lib/pf/vlan/custom.pm and uncommenting the code for shouldAutoRegister, including a relatively recent link here:
http://comments.gmane.org/gmane.comp.networking.packetfence.user/7561
My first problem is that there is no 'vlan' folder in my pf installation under the /usr/local/pf/lib/pf folder.
I've attempted to try my luck modifying the copies of custom.pm under the /usr/local/pf/lib/pf/role and /usr/local/pf/lib/pf/radius folders to include the code for shouldAutoRegister, but this hasn't worked.
I have my switch configured in 'Registration' mode.
802.1x authentification itself is working fine, I'm getting the following pf radius audit messages:
MAC Address xx:xx:xx:xx:xxxx
Auth Status Accept
Auth Type EAP
Auto Registration no
Calling Station ID xx:xx:xx:xx:xxxx
Computer name iPhone
EAP Type MS-CHAP-V2
Event Type Radius-Access-Request
IP Address
Is a Phone no
Node status unreg
Domain
Profile
Realm default
Reason
Role
Source
Stripped User Name testuser
User Name testuser
Unique ID
Any help is much appreciated - thanks Evan