mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-14 02:22:03 +08:00
Added the select-group and auto-select-group config options.
These options allow to prompt the user for a group prior to login. That in addition enhances the password file format and multiple groups can be specified on a comma separated list, as: user:group1,group2,group3:$5$encodedpassword
This commit is contained in:
committed by
Nikos Mavrogiannopoulos
parent
6bc625df81
commit
4755ee48c5
@@ -197,6 +197,7 @@ typedef struct worker_st {
|
||||
|
||||
|
||||
char username[MAX_USERNAME_SIZE];
|
||||
char groupname[MAX_USERNAME_SIZE];
|
||||
char hostname[MAX_HOSTNAME_SIZE];
|
||||
uint8_t cookie[COOKIE_SIZE];
|
||||
unsigned int cookie_set;
|
||||
|
||||
Reference in New Issue
Block a user