summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKaushal M <kaushal@redhat.com>2015-07-01 11:44:53 +0530
committerKaushal M <kaushal@redhat.com>2015-07-01 05:34:29 -0700
commitefd49999ee956b0414d062c6493ab02300b21788 (patch)
tree8b8a968d293211ef42b00404ec32effa03d83b43
parent1701239a4ef34c1780e2aa9cbc2843626bf61e2f (diff)
protocol/server: Correctly reconfigure auth.ssl-allow
auth.ssl-allow wasn't being handled during reconfigure. This prevented the ssl-allow list from being live reloaded. Change-Id: If3435793a5684881b012de77cb254b1847b37810 BUG: 1238072 Signed-off-by: Kaushal M <kaushal@redhat.com> Reviewed-on: http://review.gluster.org/11487 Tested-by: NetBSD Build System <jenkins@build.gluster.org> Reviewed-by: Raghavendra G <rgowdapp@redhat.com> Tested-by: Gluster Build System <jenkins@build.gluster.com>
-rw-r--r--xlators/protocol/server/src/server.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xlators/protocol/server/src/server.c b/xlators/protocol/server/src/server.c
index dbafd8367c0..51ddbadff14 100644
--- a/xlators/protocol/server/src/server.c
+++ b/xlators/protocol/server/src/server.c
@@ -611,6 +611,7 @@ _delete_auth_opt (dict_t *this, char *key, data_t *value, void *data)
{
char *auth_option_pattern[] = { "auth.addr.*.allow",
"auth.addr.*.reject",
+ "auth.login.*.ssl-allow",
NULL};
int i = 0;
@@ -630,6 +631,7 @@ _copy_auth_opt (dict_t *unused, char *key, data_t *value, void *xl_dict)
{
char *auth_option_pattern[] = { "auth.addr.*.allow",
"auth.addr.*.reject",
+ "auth.login.*.ssl-allow",
NULL};
int i = 0;