-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vsa lookup failure #10
base: master
Are you sure you want to change the base?
Conversation
we can figure this out with no network activity by using the UDPSocket addr property.
if that fails, give up. Maybe this project should consider adding some logging facility... puts is pretty lame.
Hi bwlang, could you please articulate on this pull request? |
Hi David: Sure... I observed for some users that a type 26 would come back from the server, but the vendor_id reported would not be found in @dict. These changes allow authentication to proceed in my environment. I'm not sure this is the cleanest solution, so maybe the vsa path should just check for 26 and look for a vendor,but return if it can't find it in the dict (and give up on the fallback which may never work) Brad
|
Thanks for the explanation Brad, It could be interesting to see if this is another Microsoft "standard" interpretation ;) |
This is also a problem for us. If attribute resolution fails by Vendor ID it should fail altogether, and not attempt to resolve by attribute ID. Personally I would prefer to simply omit the code at https://github.com/pjdavis/radiustar/blob/master/lib/radiustar/packet.rb#L165 altogether. |
Sorry about the poor git practice here...
didn't know i should have rebased instead of merging until now... and I'm out of time figure out how to fix things.
Hopefully this is still of some help to the project.
I was bitten by this bug in production code for some users authenticating against and MS AD radius server.