[PATCH 2/2] create_session: ensure that we send an auth flavor in CREATE_SESSION call

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



...it is required.

Signed-off-by: Jeff Layton <jeff.layton@xxxxxxxxxxxxxxx>
---
 nfs4.1/server41tests/st_create_session.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/nfs4.1/server41tests/st_create_session.py b/nfs4.1/server41tests/st_create_session.py
index 4c56bb45cc8e..d3b7635545ba 100644
--- a/nfs4.1/server41tests/st_create_session.py
+++ b/nfs4.1/server41tests/st_create_session.py
@@ -13,7 +13,7 @@ def create_session(c, clientid, sequenceid, cred=None, flags=0):
     chan_attrs = channel_attrs4(0,8192,8192,8192,128,8,[])
     res = c.compound([op.create_session(clientid, sequenceid, flags,
                                         chan_attrs, chan_attrs,
-                                        123, [])], cred)
+                                        123, [callback_sec_parms4(0)])], cred)
     return res
 
 ###############################################
@@ -305,7 +305,7 @@ def testRdmaArray2(t, env):
     chan_attrs = channel_attrs4(0,8192,8192,8192,128,8,[13, 57])
     ops = [op.create_session(c.clientid, c.seqid, 0,
                              chan_attrs, chan_attrs,
-                             c.c.prog, [])]
+                             c.c.prog, [callback_sec_parms4(0)])]
     c = c.c
     xid = c.compound_async(ops, checks=False)
     try:
-- 
2.4.3

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux