io-digital / tephra

Node.js RADIUS server framework
BSD 3-Clause "New" or "Revised" License
13 stars 0 forks source link

Please explain or sample with attributes and vendor attributes #31

Closed johanteekens closed 6 years ago

johanteekens commented 6 years ago

I've been fiddling around with this project and it seem to work perfectly fine for what I tried. My compliments. I just don't understand how to include [/ attributes /] and [/ vendor attributes /] in my server.

Could you please, please elaborate on this or maybe update your example code?

skibz commented 6 years ago

hi @johanteekens thanks for opening the issue, i will whip something up as soon as possible!

skibz commented 6 years ago

@johanteekens the best place to refer to is here (the library supporting tephra) -- their examples show instances of the way attributes and vendor specific attributes are declared in packet encoding functions.

with that in mind, some things to take note of:

please don't hesitate to get in contact again if this explanation doesn't suffice!

johanteekens commented 6 years ago

Awesome, problem solved. works perfectly. I'm actually adding an office 365 authentication module, allowing users to authenticate with office 365 credentials and passing their ACL to the network devices. I just got the thing going using using this module.

skibz commented 6 years ago

happy to help!