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
+5
-4
@@ -129,10 +129,11 @@ message sec_auth_init_msg
|
||||
required bool user_present = 1;
|
||||
required bool tls_auth_ok = 2 [default = false];
|
||||
required string user_name = 3;
|
||||
optional string cert_user_name = 4;
|
||||
optional string cert_group_name = 5;
|
||||
optional string hostname = 6;
|
||||
required string ip = 7;
|
||||
optional string group_name = 4; /* selected group name */
|
||||
optional string cert_user_name = 5;
|
||||
optional string cert_group_name = 6;
|
||||
optional string hostname = 7;
|
||||
required string ip = 8;
|
||||
}
|
||||
|
||||
/* SEC_AUTH_CONT */
|
||||
|
||||
Reference in New Issue
Block a user