Fix bug #6551 - win98 clients cannot connect after server upgrade to samba-3.4.0.
[ira/wip.git] / source3 / smbd / sesssetup.c
index 3988105fa41e36232992495c576744ac6358633f..2d2e5141eeb3194db2c02a53d85ecd8f5e5659f4 100644 (file)
@@ -1807,6 +1807,7 @@ void reply_sesssetup_and_X(struct smb_request *req)
 
        SSVAL(req->outbuf,smb_uid,sess_vuid);
        SSVAL(req->inbuf,smb_uid,sess_vuid);
+       req->vuid = sess_vuid;
 
        if (!sconn->smb1.sessions.done_sesssetup) {
                sconn->smb1.sessions.max_send =