[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Stefan Winter wrote:
> > RFC 5580 does specify an "Operator-Name" attribute (to identify the
> > access network operator/"NAS owner") -- would it be useful in your
> > situation?
> Oh! Cute. That's exactly the thing. Thanks!
> Now the only problem is to find RADIUS servers that support the unusual
> encoding of 5580 attributes to parse the content of Operator-Name. But
> that's not for this mailing list to solve :-)
Many of the other attributes in RFC 5580 indeed have complex
encodings, but using Operator-Name doesn't necessarily require
anything new from the RADIUS server... The "Namespace ID" values
are intentionally printable ASCII digits, so you could treat
the whole attribute as one string, and put something like
'if Operator-Name == "1example.com" then...' in your RADIUS
to unsubscribe send a message to email@example.com with
the word 'unsubscribe' in a single line as the message text body.