Question on new dictionaries & values

Arran Cudbard-Bell a.cudbardb at freeradius.org
Sun Feb 9 12:42:31 CET 2014


On 9 Feb 2014, at 11:02, Mathieu Simon (Lists) <matsimon.lists at simweb.ch> wrote:

> G'day
> 
> I've been pondering a bit on the different dictionnaries and hope
> to provide some new.
> 
> I understand that modifying/renaming old values can be is putting at
> risk current setups current setups, however new ones are easier to add :-)

It's fine if it's going into the master branch, so long as it's not just
spurious rewriting. As software evolves, naming schemes have to too.

> What is the current consenscus on tha Attribute naming. I've learned
> that underline usage isn't appreciated even though some vendors use it.
> 
> VENDOR foovendor <id>
> 
> a) ATTRIBUTE foovendor-name-by-vendor-doc...
> b) ATTRIBUTE name-by-vendor-doc...
> 
> I've seen both in usage but mostly consistently throughout a dictionary
> itself (some vendors indicate variant a, some don't but it doesn't
> always match with FR's dicts).
> 
> Thanks for your feedback, I hope to send in some Equallogic updates to
> other vendors dictionaries that I've found on respective vendor docs.

If future versions we'll adopt an oid like syntax for specifying
attributes (vendor.vendor_attribute.vendor_nested_attribute),
then we won't need any of this prefix crap.

But for now it should be:

<vendor>-<vendor's attribute name>

Unless the attribute name already starts with the vendor name...

Replace underscores for hyphens in all cases.

Arran Cudbard-Bell <a.cudbardb at freeradius.org>
FreeRADIUS Development Team

FD31 3077 42EC 7FCD 32FE 5EE2 56CF 27F9 30A8 CAA2

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 881 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20140209/e3991c8e/attachment.pgp>


More information about the Freeradius-Users mailing list