mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-03-11 15:27:00 +08:00
This helps circumvent the 253 characters limit of RADIUS string values. We distinguish between value strings that start with "OU=" and the rest: * Value strings that start with "OU=" define multiple groups in a single AVP. Here, we update the previous logic by taking into account all the AVPs. We emit a warning when discarding subsequent AVPs, but also when discarding groups within the current AVP because we have reached the maximum number of groups. * Other value strings define a single group. Here, we change the previous logic. We append to the list of groups instead of silently discarding subsequent value strings. We emit a warning when discarding AVPs because we have reached the maximum number of groups. Signed-off-by: Dimitri Papadopoulos <3350651-DimitriPapadopoulos@users.noreply.gitlab.com> Signed-off-by: Nikos Mavrogiannopoulos <n.mavrogiannopoulos@gmail.com>
42 KiB
42 KiB