Try this:

In the switches configuration, make sure no default roles are defined. 
Make sure no roles are defined for the controller itself.
Define only VLANs.

I believe what is happening is that you have a role (not a vlan) defined for 
either the global defaults or the controller.
If a role is defined, PF will return it in preference to the VLAN id.

Please show us your switches.conf if that does not fix it.


Regards,
--
Louis Munro
[email protected]  ::  www.inverse.ca 
+1.514.447.4918 *125  :: +1 (866) 353-6153 
Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence 
(www.packetfence.org)

On 2014-06-26, at 10:00 , "Rossing, Will" <[email protected]> wrote:

> Thanks Louis,
> More info on this problem, after running radius in debug and comparing the 
> pre upgraded server that was working.  below is the correct response with the 
> Tunnel-Private-Group-ID with the proper vlan 223.  The example after 4.2.2 
> upg that has no Tunnel-Private-Group-ID, just the rpc stuff  which we don't 
> use.  Can I toggle it back to the tunneled Group ID?
> 
>  Pre upgraded server returned vlan properly as below:
> >>>>>>>
> Returning vlan 223 to request from 40:b0:fa:9a:9f:a0 port 0
> rlm_perl: PacketFence RESULT RESPONSE CODE: 2 (2 means OK)
> rlm_perl: Added pair NAS-Port-Type = Wireless-802.11
> rlm_perl: Added pair Service-Type = Login-User
> rlm_perl: Added pair Calling-Station-Id = 40B0FA9A9FA0
> rlm_perl: Added pair Called-Station-Id = 000B866E182C
> rlm_perl: Added pair Aruba-Essid-Name = stormswirelessnet
> rlm_perl: Added pair Message-Authenticator = 
> 0x2c1a5b18a42ec33392213c2bfad0ed50
> rlm_perl: Added pair Aruba-AP-Group = TowerHall_PF
> rlm_perl: Added pair Aruba-Location-Id = JustLivingCenterTowerHall
> rlm_perl: Added pair User-Name = 40-b0-fa-9a-9f-a0
> rlm_perl: Added pair User-Password = 40-b0-fa-9a-9f-a0
> rlm_perl: Added pair NAS-Identifier = 221.223.223.223
> rlm_perl: Added pair NAS-Port = 0
> rlm_perl: Added pair NAS-IP-Address = 221.223.223.223
> rlm_perl: Added pair Aruba-User-Role = default
> rlm_perl: Added pair Tunnel-Private-Group-ID = 223
> rlm_perl: Added pair Tunnel-Type = 13
> rlm_perl: Added pair Tunnel-Medium-Type = 6
> rlm_perl: Added pair Auth-Type = Accept
> +++[packetfence] returns ok
> ++- if (!EAP-Type || (EAP-Type != 21 && EAP-Type != 25)) returns ok
> } # server packetfence
> >>>>>>>>>
> 
> Upgraded server, no VLAN returned example:
> 
> request from 78:e8:b6:d5:4f:42 port 0 was accepted but no VLAN returned. This 
> could be normal. See server logs for details.
> rlm_perl: PacketFence RESULT RESPONSE CODE: 2 (2 means OK)
> rlm_perl: Added pair NAS-Port-Type = Wireless-802.11
> rlm_perl: Added pair Service-Type = Login-User
> rlm_perl: Added pair Calling-Station-Id = 78E8B6D54F42
> rlm_perl: Added pair Called-Station-Id = 000B866EA660
> rlm_perl: Added pair Aruba-Essid-Name = stormswirelessnet
> rlm_perl: Added pair Message-Authenticator = 
> 0xd923d7e5a9c27fe7f36ee42dc76ddcf3
> rlm_perl: Added pair FreeRADIUS-Client-IP-Address = 143.110.1.31
> rlm_perl: Added pair Aruba-AP-Group = Somers2SLAVEA
> rlm_perl: Added pair User-Name = 78-e8-b6-d5-4f-42
> rlm_perl: Added pair Aruba-Location-Id = Somers319
> rlm_perl: Added pair User-Password = 78-e8-b6-d5-4f-42
> rlm_perl: Added pair NAS-Identifier = 222.184.184.184
> rlm_perl: Added pair NAS-Port = 0
> rlm_perl: Added pair NAS-IP-Address = 222.184.184.184
> rlm_perl: Added pair Aruba-User-Role = registration
> rlm_perl: Added pair PacketFence-RPC-Pass = 
> rlm_perl: Added pair PacketFence-RPC-Server = 127.0.0.1
> rlm_perl: Added pair PacketFence-RPC-User = 
> rlm_perl: Added pair PacketFence-RPC-Proto = http
> rlm_perl: Added pair Auth-Type = Accept
> rlm_perl: Added pair PacketFence-RPC-Port = 9090
> 
> -- 
>       
> 
> Will Rossing
> Manager, Network Services  | 218.723.6729 | [email protected]

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to