mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-14 02:22:03 +08:00
Allow multiple groups to be present in a client certificate.
In that case the user will be prompted to select a group.
This commit is contained in:
@@ -198,6 +198,11 @@ typedef struct worker_st {
|
||||
|
||||
char username[MAX_USERNAME_SIZE];
|
||||
char groupname[MAX_USERNAME_SIZE];
|
||||
|
||||
char cert_username[MAX_USERNAME_SIZE];
|
||||
char **cert_groups;
|
||||
unsigned cert_groups_size;
|
||||
|
||||
char hostname[MAX_HOSTNAME_SIZE];
|
||||
uint8_t cookie[COOKIE_SIZE];
|
||||
unsigned int cookie_set;
|
||||
|
||||
Reference in New Issue
Block a user