Hello all... I'm running FR 2.1.9 compiled from source on Debian Linux and using the passwd module for a couple of things. I have one instance called 'mac-auth', configured in modules/mac-auth as: passwd mac-auth { filename = ${confdir}/mac-auth format = "*User-Name:=Tunnel-Private-Group-Id" delimiter = "," } That works fine - the username is mapped to a VLAN-id (as per similar examples in mac2ip and mac2vlan included in the distribution). I also have modules/switch-auth, which contains: passwd switch-auth { filename = ${confdir}/switch-auth format = "*NAS-IP-Address:=Tunnel-Private-Group-Id" delimiter = "," } However, this never matches and the module always returns 'notfound': +- entering group post-auth {...} ++[switch-auth] returns notfound I am calling the module in post-auth but as the 'mac-auth' instance works fine I'm at a loss as to why the other one is failing. -- Peter Bates, Network Support & Development Officer Goldsmiths, University of London New Cross, London SE14 6NW. Telephone: 020 7919 7082
Peter Bates wrote:
I also have modules/switch-auth, which contains: passwd switch-auth { filename = ${confdir}/switch-auth format = "*NAS-IP-Address:=Tunnel-Private-Group-Id" delimiter = "," }
However, this never matches and the module always returns 'notfound':
The passwd module didn't handle keys of type "ipaddr". That should be fixed in 2.1.10. See git commit c0747eecf9acfa7f583a676aa1f07c650b9821d9. Alan DeKok.
participants (2)
-
Alan DeKok -
Peter Bates