Skip to content

Commit

Permalink
auth-policy: Add missing settings
Browse files Browse the repository at this point in the history
  • Loading branch information
cmouse committed Jan 9, 2017
1 parent 77ed2f5 commit 3176899
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/auth/auth-settings.c
Expand Up @@ -267,6 +267,9 @@ static const struct setting_define auth_setting_defines[] = {
DEF_NOPREFIX(SET_UINT, first_valid_gid),
DEF_NOPREFIX(SET_UINT, last_valid_gid),

DEF_NOPREFIX(SET_STR, ssl_client_ca_dir),
DEF_NOPREFIX(SET_STR, ssl_client_ca_file),

SETTING_DEFINE_LIST_END
};

Expand Down Expand Up @@ -304,6 +307,9 @@ static const struct auth_settings auth_default_settings = {
.verbose_passwords = "no",
.ssl_require_client_cert = FALSE,
.ssl_username_from_cert = FALSE,
.ssl_client_ca_dir = "",
.ssl_client_ca_file = "",

.use_winbind = FALSE,

.worker_max_count = 30,
Expand Down
3 changes: 3 additions & 0 deletions src/auth/auth-settings.h
Expand Up @@ -76,6 +76,9 @@ struct auth_settings {
ARRAY(struct auth_userdb_settings *) userdbs;

const char *base_dir;
const char *ssl_client_ca_dir;
const char *ssl_client_ca_file;

bool verbose_proctitle;
unsigned int first_valid_uid;
unsigned int last_valid_uid;
Expand Down

0 comments on commit 3176899

Please sign in to comment.