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
+1
View File
@@ -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;