Here the patch:
https://github.com/inverse-inc/packetfence/commit/607c00f050c39fc1a62c486ce8f982871123cbdb.diff
Regards
Fabrice
Le 2014-07-07 14:24, Alex a écrit :
Hi all,
I have plenty of these messages
the full error message is:
Jul 07 20:05:53 pfsetvlan(18) INFO: nb of items in queue: 1; nb of
threads running: 0 (main::startTrapHandlers)
Jul 07 20:05:53 pfsetvlan(18) INFO: up trap received on 10.19.1.27
ifIndex 36 (main::handleTrap)
Jul 07 20:05:53 pfsetvlan(18) INFO: setting 10.19.1.27 port 36 to
MAC detection VLAN (main::handleTrap)
Jul 07 20:05:53 pfsetvlan(18) INFO: Should set 10.19.1.27 ifIndex
36 to VLAN 2469 but it is already in this VLAN -> Do nothing
(pf::Switch::setVlan)
Jul 07 20:05:53 pfsetvlan(18) INFO: Username was NOT defined or
unable to match a role - returning node based role 'default'
(pf::vlan::getNormalVlan)
Jul 07 20:05:53 pfsetvlan(18) INFO: MAC: 00:11:aa:55:22:cc, PID:
admin, Status: reg. Returned VLAN: 1 (pf::vlan::fetchVlanForNode)
Jul 07 20:05:53 pfsetvlan(18) INFO: setting VLAN at 10.19.1.27
ifIndex 36 from 2469 to 1 (pf::Switch::setVlan)
Jul 07 20:05:53 pfsetvlan(18) INFO: finished
(main::cleanupAfterThread)
Jul 07 20:07:13 pfsetvlan(21) *ERROR: Use of uninitialized value
in string eq at /usr/local/pf/sbin/pfsetvlan line 537.*
* (main::parseTrap)*
Here is my switch configuration:(as I've searched online, and found it
may be related)
254 [10.19.1.27]
255 SNMPCommunityRead=commpublic
256 SNMPAuthProtocolRead=MD5
257 guestVlan=2471
258 SNMPCommunityWrite=commpriv
259 defaultVlan=1
260 SNMPUserNameTrap=ftrap
261 SNMPPrivPasswordTrap=xxxxxxxxxxxxxxxxxxxxxxxx
262 SNMPAuthProtocolTrap=MD5
263 SNMPAuthProtocolWrite=MD5
264 SNMPUserNameWrite=fwrite
265 description=SW2DATA
266 SNMPVersionTrap=3
267 type=Linksys::SRW224G4
268 SNMPEngineID=xx27
269 macDetectionVlan=2469
270 SNMPUserNameRead=fread
271 VoIPEnabled=N
272 isolationVlan=2466
273 SNMPVersion=3
274 SNMPPrivPasswordRead=xxxxxxxxxxxxxxxxxxxxxxxx
275 SNMPPrivProtocolWrite=DES
276 SNMPAuthPasswordWrite=xxxxxxxxxxxxxxxxxxxxxxxx
277 SNMPPrivPasswordWrite=xxxxxxxxxxxxxxxxxxxxxxxx
278 SNMPAuthPasswordRead=xxxxxxxxxxxxxxxxxxxxxxxx
279 SNMPCommunityTrap=commtrap
280 SNMPPrivProtocolTrap=DES
281 gamingVlan=2471
282 registrationVlan=2470
283 SNMPPrivProtocolRead=DES
284 voiceVlan=100
285 SNMPAuthPasswordTrap=xxxxxxxxxxxxxxxxxxxxxxxx
286 uplink=7,10,48
287 mode=production
288 serverVlan=1
Am I missing something here ?
Thanks for your help
--
Alex
------------------------------------------------------------------------------
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
------------------------------------------------------------------------------
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