From 5839a5636b697c5230f1dc0536297007c1ca1a66 Mon Sep 17 00:00:00 2001 From: Steve French Date: Wed, 6 May 2009 00:48:30 +0000 Subject: [PATCH] --- yaml --- r: 144721 b: refs/heads/master c: 844823cb822932d2c599abf38692e3d6a5b5a320 h: refs/heads/master i: 144719: 44b0719496f1b83c662c53701538cce58e4b840b v: v3 --- [refs] | 2 +- trunk/fs/cifs/sess.c | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 91bdafc89d2f..b7a4bef2feff 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 0b3cc858003b79b6c66ad79415ead907cbe4074e +refs/heads/master: 844823cb822932d2c599abf38692e3d6a5b5a320 diff --git a/trunk/fs/cifs/sess.c b/trunk/fs/cifs/sess.c index e68744e169b3..897a052270f9 100644 --- a/trunk/fs/cifs/sess.c +++ b/trunk/fs/cifs/sess.c @@ -822,6 +822,10 @@ CIFS_SessSetup(unsigned int xid, struct cifsSesInfo *ses, int first_time, nls_cp, first_time); iov[1].iov_len = blob_len; + /* Make sure that we tell the server that we + are using the uid that it just gave us back + on the response (challenge) */ + smb_buf->Uid = ses->Suid; } else { cERROR(1, ("invalid phase %d", phase)); rc = -ENOSYS;