Coder Social home page Coder Social logo

Comments (6)

namjaejeon avatar namjaejeon commented on July 26, 2024

Ah, What client do you use ? I have never seen this issue before. Let me know how to reproduce. when I checked the backtrace, This is not SMB1.

from ksmbd.

zztmy avatar zztmy commented on July 26, 2024

I use a Windows 10 client.

from ksmbd.

hclee avatar hclee commented on July 26, 2024

@zztmy
Could you elaborate how to reproduce it? Does this happen when copying files to ksmbd from Windows client?
Please show your smb.conf and what version of ksmbd and kernel.

from ksmbd.

namjaejeon avatar namjaejeon commented on July 26, 2024

I wonder if you enabled oplock on smb1. And I wonder if there are two clients connected to smb1 and smb2/3 respectively.

from ksmbd.

zztmy avatar zztmy commented on July 26, 2024

@hclee
Yes, it happens when you copy files from windows to ksmbd.

[global]
workgroup = WORKGROUP
netbios name = ZZTMY
map to guest = bad user
guest account = nobody
max active sessions = 128
bind interfaces only = yes
interfaces = br0
max open files = 1000
deadtime = 5
server min protocol = NT1
[zztmy]
path = /mnt/disk0/
guest ok = yes
writable = yes
oplocks = yes
force user = public_user

ksmbd version: 3.4.5
linux version: 5.10.107

@namjaejeon
Yes, that's the scene you're talking about.

from ksmbd.

namjaejeon avatar namjaejeon commented on July 26, 2024

@zztmy Can you reproduce this issue easily ? I think you accessed the file through smb1 and smb2 clients at the same time. It looks like it needs to fix SMB1 code. Actually we don't want to touch smb1 code anymore. If you can tell us how to reproduce this, we'll check it.

from ksmbd.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.