diff options
author | shishir gowda <shishirng@gluster.com> | 2011-05-02 03:47:39 +0000 |
---|---|---|
committer | Anand Avati <avati@gluster.com> | 2011-05-12 09:29:21 -0700 |
commit | 357df32e16dd21e7aedb699c7bd99cac9b95a040 (patch) | |
tree | e2d7c7d553a527396790742f1209ff9121dc4477 /xlators | |
parent | afad4e2d64c6bb01ff5dceb29b20ebcc02c1747b (diff) |
Introduce client-allow-insecure xlator-option.
Allows glusterfs clients to bind to any port and does not restrict it
to 1024.
This is a xlator-option only, and is not supported in volume set cmd.
The reason is, few clients may choose this, and few may not. Hence
only supported as a xlator-option during mount time.
For this to work with glusterfs, server.allow-insecure should be set
to on
Signed-off-by: shishir gowda <shishirng@gluster.com>
Signed-off-by: Anand Avati <avati@gluster.com>
BUG: 2868 (Add xlator-option to support insecure-bind for clients)
URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=2868
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/protocol/client/src/client.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xlators/protocol/client/src/client.c b/xlators/protocol/client/src/client.c index ff766844d..4153db429 100644 --- a/xlators/protocol/client/src/client.c +++ b/xlators/protocol/client/src/client.c @@ -2488,5 +2488,8 @@ struct volume_options options[] = { .min = 1, .max = 1013, }, + { .key = {"client-bind-insecure"}, + .type = GF_OPTION_TYPE_BOOL + }, { .key = {NULL} }, }; |