changeset 21374:b3803bacf702

auth-policy: Add missing settings
author Aki Tuomi <aki.tuomi@dovecot.fi>
date Mon, 09 Jan 2017 09:57:58 +0200
parents 9d3889a5fbb3
children f13f90cd5420
files src/auth/auth-settings.c src/auth/auth-settings.h
diffstat 2 files changed, 9 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/auth/auth-settings.c	Sun Jan 08 20:09:33 2017 +0200
+++ b/src/auth/auth-settings.c	Mon Jan 09 09:57:58 2017 +0200
@@ -265,6 +265,9 @@
 	DEF_NOPREFIX(SET_UINT, first_valid_uid),
 	DEF_NOPREFIX(SET_UINT, last_valid_uid),
 
+	DEF_NOPREFIX(SET_STR, ssl_client_ca_dir),
+	DEF_NOPREFIX(SET_STR, ssl_client_ca_file),
+
 	SETTING_DEFINE_LIST_END
 };
 
@@ -302,6 +305,9 @@
 	.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,
--- a/src/auth/auth-settings.h	Sun Jan 08 20:09:33 2017 +0200
+++ b/src/auth/auth-settings.h	Mon Jan 09 09:57:58 2017 +0200
@@ -76,6 +76,9 @@
 	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;