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:
Nikos Mavrogiannopoulos
2014-05-19 18:25:25 +02:00
committed by Nikos Mavrogiannopoulos
parent 6bc625df81
commit 4755ee48c5
14 changed files with 442 additions and 238 deletions
+5 -4
View File
@@ -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 */