Closed pesa1234 closed 2 years ago
Hello,
Can you give more details on ksmbd version used and the config ?
I tested with fedora34 (kernel 5.11.12-300.fc34.aarch64) and I mounting with vers=3.1.1 works fine.
What error / log do you have client side ?
KSMBD is 3.4.3
seems that the issue is coming only with nautilus, so, if I try to Connect to Server from nautilus I can not enter...
But, on terminal...
sudo mount -t cifs -o vers=2.0,username=username '\192.168.181.1\SambaShare' /mnt
works ok
or by edit fstab by add this line, no problem at all..
//192.168.181.1/SambaShare /media/SambaShare cifs username=username,password=password,cache=none,uid=1000,iocharset=utf8 0 0
Can you tell me what is problem ? When I connecting ksmbd share using nautilus on ubuntu, It work fine.
Can you tell me what is problem ? When I connecting ksmbd share using nautilus on ubuntu, It work fine.
Yes, on Ubuntu is working fine. On Fedora 34-35 by using nautilus, if you try to connect to ksmbd server it asking forever for username and password.
Okay, If you use samba, it work fine ? If yes, Can you give me two tcpdump(or wireshark) files that capture packets on samba and ksmbd ? I would like to compare packets.
Do you have the same auth configuration on ksmbd / samba4 ? ksmbd is responding with LOGON_FAILURE while the client is trying to authenticate as guest.
Yes, completly same, otherwise I don't open an issue
@pesa1234 Can you provide tcpdump with nautilus of ubuntu ?
@pesa1234 and please share your smb.conf also...
Here dump of ubuntu nautilus on ksmbd and it is ok.
On zip also conf of ksmbd and samba
Can you check two things ?
## allow client access to accounts that have null passwords.
null passwords = yes
nobody:x:65534:65534:Kernel Overflow User:/:/sbin/nologin
Thanks
Hi, any news? Thanks
@pesa1234 Please try this patch (https://github.com/namjaejeon/ksmbd/commit/f1e91cd035b5227eec762b0a575b1aefa1156f6b)
Yeah! It works! Thanks!!!
Dear, we found an issue on Fedora34...
If I try to connect to the ksmbd share... this is the log of ksmbd
If I try to use...
sudo mount -t cifs -o vers=2.0,username=username '\192.168.155.1\SambaShare' /mnt
All is ok...