Comments (6)
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.
I use a Windows 10 client.
from ksmbd.
@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.
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.
@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.
@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)
- I use my phone to access ksmbd by SMBv1,I clicked on the shared directory, but I couldn't access it. I tried several times. Caused kernel panic. HOT 8
- When SMBv1 is used to write files, only 512-byte data is transmitted in a datagram, resulting in poor performance. HOT 8
- Cannot compile on Debian11 HOT 3
- Does ksmbd support openldap user authentication? HOT 3
- How do you maintain the code HOT 1
- Auth failure from Windows client HOT 4
- new crash log HOT 2
- Unable to load module HOT 20
- ksmbd: error while processing smb2 query dir rc = 1 HOT 10
- Is Printing and Printer sharing support in Ksmbd ? HOT 2
- wrong disk size HOT 18
- [Suggestion] Issue templates HOT 1
- page fault HOT 11
- PFIF website is spam now HOT 1
- Failed to copy files on the iphone! HOT 3
- kernel NULL pointer dereference, address: 0000000000000030 HOT 14
- macOS client error HOT 31
- Compile error on Oracle kernel-uek R7 HOT 5
- can't set group write permissions to created files and directories HOT 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ksmbd.