Using Samba Drive 4.9.4 under with windows 10

post here any question or information you want to share on Computers

Re: Using Samba Drive 4.9.4 under with windows 10

Postby Jocko » Sat Nov 30, 2019 10:45 pm

Ok Matzi

It would be nice you try tomorrow after re-open your win10 session:
Restore the original value in registry
set a private share on the SD card and keep public the usb share
Try to open the private share => should ask you for login => Do you succeed to open it ?
Then try to open the public share => win10 should reuse quietly the account => Do you succeed to open it ?

:z)
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Using Samba Drive 4.9.4 under with windows 10

Postby Jocko » Sun Dec 01, 2019 10:07 am

Hi matzi

Maybe with some new options in smb.conf, we can fix your issue without editing your win10 environment.

First edit smb.conf file by replacing the lines :
Code: Select all
server min protocol = SMB2
client min protocol = SMB2
(if you have disabled smb1) by
Code: Select all
server min protocol = SMB2_10
client min protocol = SMB2

You can use directly nano command to do it
Code: Select all
nano /tmp/usr/lib/smb.conf

reboot smb daemon
Code: Select all
killall smbd
/usr/sbin/smbd -D -l /var/log/samba


That all on the rspb side

Now restore the default environment on your win10 and restart the session.

Then check if you can get share list on your rspb and connect to one

The trick is on smb2_10, guest account would not be blocked so by setting it as min protocol on the server, win10 can no longer use smb2 which is the issue
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Using Samba Drive 4.9.4 under with windows 10

Postby matzi » Sun Dec 01, 2019 11:22 am

Restore the original value in registry - done
set a private share on the SD card and keep public the usb share - done
Try to open the private share => should ask you for login => Do you succeed to open it ? - No, all shares are visible. The publics shares are accessible, the private share asks for credentials but does not accept it


Then try to open the public share => win10 should reuse quietly the account => Do you succeed to open it ? - Yes, see line before.
matzi
Donator VIP
Donator VIP
 
Posts: 253
Joined: Wed Jul 06, 2011 8:08 am
Location: Hannover Germany

Re: Using Samba Drive 4.9.4 under with windows 10

Postby matzi » Sun Dec 01, 2019 11:27 am

The solution with the modified smb.conf works fine. I can access both share types. Windows Explorer silently kept the credentials from the tril before and used it (this time successfully).
matzi
Donator VIP
Donator VIP
 
Posts: 253
Joined: Wed Jul 06, 2011 8:08 am
Location: Hannover Germany

Re: Using Samba Drive 4.9.4 under with windows 10

Postby fvdw » Sun Dec 01, 2019 11:31 am

:thumbup
And what about writing speed ?
fvdw
Site Admin - expert
 
Posts: 13239
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Using Samba Drive 4.9.4 under with windows 10

Postby Jocko » Sun Dec 01, 2019 11:35 am

Hi matzi,

matzi wrote:The publics shares are accessible, the private share asks for credentials but does not accept it
This is still amazing :scratch that would be an host/login account is already using by win10 and the user (login) has no permission on your raspberry share. With win10 home (like older versions) you can use only one user account on remote share

matzi wrote:The solution with the modified smb.conf works fine. I can access both share types. Windows Explorer silently kept the credentials from the tril before and used it (this time successfully).
we still need to deepen something with fvdw as the trick seems do not work on his side
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: Using Samba Drive 4.9.4 under with windows 10

Postby matzi » Sun Dec 01, 2019 11:42 am

writing is about 18-20 MB/s
Reading at about 12 MB/s

It is through a 300Mbit wlan repeater-

Now I going for family sunday- Let us continue later
matzi
Donator VIP
Donator VIP
 
Posts: 253
Joined: Wed Jul 06, 2011 8:08 am
Location: Hannover Germany

Re: Using Samba Drive 4.9.4 under with windows 10

Postby matzi » Sun Dec 01, 2019 8:00 pm

More speed test results: Raspi Nas connected directly to PC (Ethernet Cat 7 Cable, both ends fixed IP) results in amazing read/write speeds both about 100MB/s!
So I guess there is a bottleneck in my router (AVM 7580 and Repeater AVM 450E).
matzi
Donator VIP
Donator VIP
 
Posts: 253
Joined: Wed Jul 06, 2011 8:08 am
Location: Hannover Germany

Re: Using Samba Drive 4.9.4 under with windows 10

Postby matzi » Sun Dec 01, 2019 8:11 pm

and another one: PC WLAN connected to router. NAS with ethernet on router
write/read 12/25MB/s
matzi
Donator VIP
Donator VIP
 
Posts: 253
Joined: Wed Jul 06, 2011 8:08 am
Location: Hannover Germany

Re: Using Samba Drive 4.9.4 under with windows 10

Postby fvdw » Sun Dec 01, 2019 8:14 pm

well there seems to be indeed a restriction in your lan.

question: which windows 10 do you use ?( home, eduction, pro, enterprise) ?

and you mentioned yopu entered the key in registry on two places, Where exactly ?
fvdw
Site Admin - expert
 
Posts: 13239
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

PreviousNext

Return to Computers and General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest