diff options
author | Gaurav <gaurav@gluster.com> | 2011-09-21 17:10:23 +0530 |
---|---|---|
committer | Vijay Bellur <vijay@gluster.com> | 2011-09-21 22:37:17 -0700 |
commit | c3b764cad74114f77e8c4acc4c040c4b20666b5d (patch) | |
tree | baee6a137ea728182bebadccedc1cf2ea2576e2a /rpc | |
parent | 83a8938fec225268a3afdbcad1011f0e06e54d16 (diff) |
NFS : Posix compliance fixes.
Change-Id: I3687fd16bcc0ddc8a352efb9a0b410f54bec6e74
BUG: 1337
Reviewed-on: http://review.gluster.com/482
Tested-by: Gluster Build System <jenkins@build.gluster.com>
Reviewed-by: Amar Tumballi <amar@gluster.com>
Reviewed-by: Vijay Bellur <vijay@gluster.com>
Diffstat (limited to 'rpc')
-rw-r--r-- | rpc/rpc-lib/src/rpcsvc-auth.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rpc/rpc-lib/src/rpcsvc-auth.c b/rpc/rpc-lib/src/rpcsvc-auth.c index 7049cfc26fa..8c0038e7f29 100644 --- a/rpc/rpc-lib/src/rpcsvc-auth.c +++ b/rpc/rpc-lib/src/rpcsvc-auth.c @@ -346,7 +346,8 @@ rpcsvc_auth_unix_auxgids (rpcsvc_request_t *req, int *arrlen) if ((!req) || (!arrlen)) return NULL; - if ((req->cred.flavour != AUTH_UNIX) || + /* In case of AUTH_NULL auxgids are not used */ + if ((req->cred.flavour != AUTH_UNIX) && (req->cred.flavour != AUTH_GLUSTERFS)) { gf_log ("", GF_LOG_DEBUG, "auth type not unix or glusterfs"); return NULL; |