Skip to content
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

Generate subrealm based on an eduPersonEntitlement atttribute #23

Open
chrohrer opened this issue Mar 28, 2023 · 4 comments
Open

Generate subrealm based on an eduPersonEntitlement atttribute #23

chrohrer opened this issue Mar 28, 2023 · 4 comments

Comments

@chrohrer
Copy link

As an organisation I want the user to get a realm based on the value of an eduPersonEntitlement attribute so I can do granular VLAN assignment based on this realm

Possiible example values

@pauldekkers
Copy link
Member

One of the issues with this is that it's hard to change the value; I think this is why we currently implement it by role/affiliation, in such a way that we add a prefix of "student." to the realm, because that may survive a network redesign better. Is there a good reason to really make it a specific VLAN value?

(I'd argue that if it's a role, it's trivial to assign a pool of VLANs from your internal system better?)

Anyway, thinking out loud; the part that we didn't really implement is taking the value out of a part of the attribute value (just the entire value, like in the case of affiliation - yet in most cases we hardwire).

@chrohrer
Copy link
Author

Doesn't necessarily have to be the specific VLAN value, the only requirement is that the value can be used as a subrealm.

Would it be easier if we'd use the isMemberOf attribute, which doesn't have a controlled vocabulary (eduPersonEntitlement needs to be a URI)? This way we could for example use a value in the form geteduroam-4014 (or 'vlan-4014') and use this to make a realm of @geteduroam-4014.unidemo-ch.get.eduroam.org

@pauldekkers
Copy link
Member

Hmm, and what if it's multi-value?

@chrohrer
Copy link
Author

chrohrer commented Mar 28, 2023

Filter for a specific prefix, geteduroam- in the example above - and use the first value that conforms to it?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants