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:
Nikos Mavrogiannopoulos
2014-05-20 15:36:40 +02:00
parent 2668fe63b4
commit aef5dc0633
6 changed files with 184 additions and 55 deletions
+5
View File
@@ -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;