0

I want to send disconnect-message to NAS using radclient program but when I want to disconnect one user using this command

echo user-name=zaib | radclient -x   192.168.3.1 disconnect "muh"

the debug mod show this error

rad_recv: Disconnect-NAK packet from host 192.168.3.1 port 3799, id=78, length=50
    Error-Cause = Unsupported-Attribute
    Event-Timestamp = "Jul  3 2017 09:35:01 +03"
    Message-Authenticator = 0xd52977c552ae0a7c83bb32c2acc6d195

I using fortigate as NAS I searched alot about this problem but I did not find solution

0

Check if attribute you are using is on that list: FreeRADIUS Attributes

  • thank you for your replay which attribute you mean I want to disconnect one user using above command – Abobaker EngIt Jul 3 '17 at 6:56
  • update coa { User-Name = "%{User-Name}" Acct-Session-Id = "%{Acct-Session-Id}" NAS-IP-Address = "%{NAS-IP-Address}" } – Abobaker EngIt Jul 3 '17 at 7:06
  • please help me @mrc02_kr – Abobaker EngIt Jul 3 '17 at 7:35
  • According to link try to write attributes to file and then try to disconnect user. Maybe attributes are case sensitive and you need to type "User-Name=zaib" instead of user-name=zaib. I don't know for sure because I always type it with uppercase :) – mrc02_kr Jul 3 '17 at 9:34
  • I writed the comman in upper case but the same result is appear – Abobaker EngIt Jul 3 '17 at 11:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.