Bug 56456 - Radius group defect when using mailPrimaryAddress
Radius group defect when using mailPrimaryAddress
Status: NEW
Product: UCS
Classification: Unclassified
Component: Radius
UCS 5.2
Other Mac OS X 10.1
: P5 normal (vote)
: ---
Assigned To: UCS maintainers
UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2023-08-18 23:33 CEST by ericbrowning
Modified: 2023-08-18 23:33 CEST (History)
0 users

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ericbrowning 2023-08-18 23:33:41 CEST
This bug/feature from fix Bug 55757 allows users to login with their mailPrimaryAddress but the rest of the record isn't returned and so dynamic Vlans are not assigned.  Ye sI'm modifying the /etc/freeradius/3/0/sites-available/default file but we assign vlans on a hierarchy since many users belong to multiple groups.

Example snip from the post-auth { section of the file:
                }       
        if (Group == "School Admin") {
                update reply {
                        Tunnel-Type := "VLAN"
                        Tunnel-Medium-Type := "IEEE-802"
                        Tunnel-Private-Group-ID := 35
                }       
        }
        elsif (Group == "Teachers") {
                update reply {
                        Tunnel-Type := "VLAN"
                        Tunnel-Medium-Type := "IEEE-802"
                        Tunnel-Private-Group-ID := 45
                }
        }

In our school some school administrators do teach a class or two.  But they belong to both groups.  This works as expected when logins happen via ldap.