On 11 Jun 2014, at 09:11, Enrique Sainz Baixauli <enriquesainz.beca@intef.educacion.es> wrote:
Today I realized this about the error I got:
(5) foreach &control:LDAP-Group (5) # Foreach-Variable-1 = "profesores" (5) update reply { Bad talloc magic value - unknown value talloc abort: Bad talloc magic value - unknown value CAUGHT SIGNAL: Aborted
In the second line, the variable containing the group name is Foreach-Variable-1, but I was accessing Foreach-Variable-0 inside the update reply {}. I changed it to Foreach-Variable-1 and the error vanished, everything worked perfectly and FR returned to the client this Access-Accept:
Sending Access-Accept Id 17 from 192.168.50.62:1812 to 192.168.60.1:1024 Ruckus-User-Groups += 'profesores' MS-MPPE-Recv-Key = 0xc404bde0c6ee79a3f4664284f0f50f4d79c0e4d813f8054eb85ca706f6bd827d MS-MPPE-Send-Key = 0xe5e783a3df73eb314335cc2cc0a855f886336766c0fdf826b9b69d461de87df8 EAP-Message = 0x03060004 Message-Authenticator = 0x00000000000000000000000000000000 User-Name = 'juan' Ruckus-User-Groups += 'profesores'
I've completely lost track of what's going on here... if you're still experiencing issues can you open a ticket on https://bugs.freeradius.org with a test case. -Arran Arran Cudbard-Bell <a.cudbardb@freeradius.org> FreeRADIUS Development Team FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2