packages icon indicating copy to clipboard operation
packages copied to clipboard

[openwrt-23.05] ksmbd-server: Shared files/directories are not visible in root folder of the share

Open JKSTAFF opened this issue 11 months ago • 3 comments

Description:
Same issue as #23088 . Happend on 23.05 with ksmbd v3.4.8 and kernel v5.15.150.
To reproduce this, create whateverusername with ksmbd.adduser, mount the mmc storage, create a share setting to allow users or guests or both. Actually there are file and folders there in the path which is mounted and shared. But I can't see or write in to.

Screenshot_20240328_205755

Additional Information:

DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='23.05-SNAPSHOT'
DISTRIB_REVISION='r23812-0a2047cf77'
DISTRIB_TARGET='mediatek/filogic'
DISTRIB_ARCH='aarch64_cortex-a53'
DISTRIB_DESCRIPTION='OpenWrt 23.05-SNAPSHOT r23812-0a2047cf77'
DISTRIB_TAINTS='no-all'

JKSTAFF avatar Mar 28 '24 13:03 JKSTAFF

@neheb Can you help here too? Like you helped for main branch.

sppmasterspp avatar Mar 28 '24 14:03 sppmasterspp

Description: Same issue as #23088 . Happend on 23.05 with ksmbd v3.4.8 and kernel v5.15.150. To reproduce this, create whateverusername with ksmbd.adduser, mount the mmc storage, create a share setting to allow users or guests or both. Actually there are file and folders there in the path which is mounted and shared. But I can't see or write in to.

Screenshot_20240328_205755

Additional Information:

DISTRIB_ID='OpenWrt'
DISTRIB_RELEASE='23.05-SNAPSHOT'
DISTRIB_REVISION='r23812-0a2047cf77'
DISTRIB_TARGET='mediatek/filogic'
DISTRIB_ARCH='aarch64_cortex-a53'
DISTRIB_DESCRIPTION='OpenWrt 23.05-SNAPSHOT r23812-0a2047cf77'
DISTRIB_TAINTS='no-all'

Hello, do you have same issue with latest snapshot and other operating system? I'm on latest snapshot ksmbd-tools 3.5.1 with ubuntu 22.04, raspbian, win 10, win 11 and android phones and I didn't get this issue. If no issue with ksmbd-tools 3.5.1 I try to backport to 23.05. Thanks

pesa1234 avatar Mar 29 '24 13:03 pesa1234

do you have same issue with latest snapshot and other operating system?

Hello ,I make a snapshot on the same device with ksmbd 3.5.1 works fine. I saw you already update version for 23.05. I will try and report later.

JKSTAFF avatar Mar 30 '24 11:03 JKSTAFF

I've tried ksmbd 3.4.6-3.4.8 in the last two days in branch 23.05 and both have display issues. And when using the Solid-Explorer on android to access the SMB network storage, the router will get into a stuck that has to be unplugged to recover.
In order to exclude interference from other packages, I did not add third-party software, mainly selected ksmbd, block-mount, btrfs and other necessary kmod and luci modules

JKSTAFF avatar Apr 02 '24 13:04 JKSTAFF

3.5.1 https://github.com/openwrt/packages/pull/23785 is not merged, maybe in the next days. In the same time, please try to cherry-pick this commit https://github.com/openwrt/packages/pull/23785/commits/dc5fa137787a351d58f46c4724871554537c4efd and check with new version 3.5.1 is ok. let me know.

pesa1234 avatar Apr 02 '24 17:04 pesa1234

problem fixed with 3.5.1

JKSTAFF avatar Apr 03 '24 07:04 JKSTAFF

problem fixed with 3.5.1

Thanks for feedback

Andrea

pesa1234 avatar Apr 03 '24 07:04 pesa1234