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 matzi » Sat Nov 30, 2019 8:53 pm

access in explorer with IP gives an error. The same with nas name \\fvdwsl-base-pi\
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 » Sat Nov 30, 2019 8:57 pm

I have this setup on the nas

$matches[2]

$matches[2]


and they show up in windows 10
samba4-30-3.JPG


:scratch Maybe there is a firewall issue on your windows 10, I will check my settings
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Using Samba Drive 4.9.4 under with windows 10

Postby fvdw » Sat Nov 30, 2019 9:04 pm

this is my smb.conf file (it is in /rw_fs/tmp/usr/lib an rewritten at every boot)

Is your different ?
Code: Select all
[global]
netbios name = fvdwsl-raspb
workgroup = XXX  <----(i removed the real name)
server string = fvdw-sl NAS
encrypt passwords = yes
security = user
map to guest = bad password
use mmap = yes
use sendfile = yes
dns proxy = no
max log size = 200
log level = 0
local master = no
domain master = no
preferred master = no
os level = 0
dns proxy = no
ldap ssl = no
# add 12 nov 2012
unix extensions = yes
passdb backend = smbpasswd

utmp = yes
wtmp directory = /var/log
utmp directory = /var/log

# Optional QOS settings
# qos enable = yes
# level1 file extensions = avi wmv wma
# level2 file extensions = mpeg mpg
; guest account = nobody
create mask = 0666
directory mask = 0777

dos charset = CP850
unix charset = UTF-8

ntlm auth = no
aio read size = 0
aio write size = 0

pid directory = /usr/samba/var/locks
lock directory = /usr/samba/var/locks
state directory = /usr/samba/var/locks
cache directory = /usr/samba/var/locks
ncalrpc dir = /usr/samba/var/locks/ncalrpc

create krb5 conf = No

server min protocol = SMB2
client min protocol = SMB2

deadtime = 1


printcap name = /dev/null
load printers = no
printing = bsd
disable spoolss = Yes
show add printer wizard = No


[public]
comment = Default_share
path = /share/1000/public
writeable = yes
printable = no
public = yes
force user = nobody
force group = nobody
ea support = yes
vfs objects = catia fruit streams_depot
fruit:resource = file
fruit:metadata = netatalk
fruit:locking = netatalk
fruit:encoding = native


[fvdw]
comment = Admin_shr
path = /share/1000/fvdw
invalid users = root dummy frans
read list =
write list =
#read only = no
#writable = no
printable = no
ea support = yes
vfs objects = catia fruit streams_depot
fruit:resource = file
fruit:metadata = netatalk
fruit:locking = netatalk
fruit:encoding = native


[usb-test]
comment =
path = /share/2000/usb-test
invalid users = root dummy
read list =
write list =  frans
#read only = no
#writable = no
printable = no
ea support = yes
vfs objects = catia fruit streams_depot
fruit:resource = file
fruit:metadata = netatalk
fruit:locking = netatalk
fruit:encoding = native


fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Using Samba Drive 4.9.4 under with windows 10

Postby fvdw » Sat Nov 30, 2019 9:07 pm

also please post the output of
Code: Select all
mount
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Using Samba Drive 4.9.4 under with windows 10

Postby matzi » Sat Nov 30, 2019 9:11 pm

A little see vfs objects

[global]
netbios name = fvdwsl-base-pi
workgroup = WORKGROUP
server string = fvdw-sl NAS
encrypt passwords = yes
security = user
map to guest = bad password
use mmap = yes
use sendfile = yes
dns proxy = no
max log size = 200
log level = 0
local master = no
domain master = no
preferred master = no
os level = 0
dns proxy = no
ldap ssl = no
# add 12 nov 2012
unix extensions = yes
passdb backend = smbpasswd

utmp = yes
wtmp directory = /var/log
utmp directory = /var/log

# Optional QOS settings
# qos enable = yes
# level1 file extensions = avi wmv wma
# level2 file extensions = mpeg mpg
; guest account = nobody
create mask = 0666
directory mask = 0777

dos charset = CP850
unix charset = UTF-8

ntlm auth = no
aio read size = 0
aio write size = 0

pid directory = /usr/samba/var/locks
lock directory = /usr/samba/var/locks
state directory = /usr/samba/var/locks
cache directory = /usr/samba/var/locks
ncalrpc dir = /usr/samba/var/locks/ncalrpc

create krb5 conf = No

server min protocol = SMB2
client min protocol = SMB2

deadtime = 1


printcap name = /dev/null
load printers = no
printing = bsd
disable spoolss = Yes
show add printer wizard = No


[public]
comment = Default_share
path = /share/1000/public
writeable = yes
printable = no
public = yes
force user = nobody
force group = nobody
ea support = yes
vfs objects = catia fruit streams_xattr
fruit:resource = file
fruit:metadata = netatalk
fruit:locking = netatalk
fruit:encoding = native


[Volume_1]
comment = external
path = /mnt/Volume_1
writeable = yes
printable = no
public = yes
force user = nobody
force group = nobody
ea support = yes
vfs objects = catia fruit streams_xattr
fruit:resource = file
fruit:metadata = netatalk
fruit:locking = netatalk
fruit:encoding = native

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 » Sat Nov 30, 2019 9:13 pm

mount:
root@fvdwsl-base-pi:/ # mount
/dev/mmcblk0p7 on / type ext3 (rw,relatime)
none on /proc type proc (rw,relatime)
none on /sys type sysfs (rw,relatime)
none on /dev/pts type devpts (rw,relatime,mode=600,ptmxmode=000)
/dev/mmcblk0p6 on /rw_fs type ext3 (rw,noatime)
tmpfs on /rw_fs/tmp/usr/var type tmpfs (rw,relatime,size=5000k)
nfsd on /proc/fs/nfsd type nfsd (rw,relatime)
configfs on /sys/kernel/config type configfs (rw,relatime)
/dev/sda1 on /rw_fs/tmp/mnt/Volume_1 type ext4 (rw,noatime,nodelalloc)
/dev/mmcblk0p4 on /share/1000 type ext4 (rw,noatime,nodelalloc)
/dev/sda1 on /share/1000/Volume_1 type ext4 (rw,noatime,nodelalloc)
/dev/mmcblk0p5 on /lacie-boot type ext3 (rw,relatime)
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 » Sat Nov 30, 2019 9:18 pm

Not sure if it helps but from another raspi i can access the shares in the file explorer using smb://<IP>/sharename
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 » Sat Nov 30, 2019 9:21 pm

oke
this in smb.conf file
Code: Select all
[Volume_1]
comment = external
path = /mnt/Volume_1
writeable = yes
printable = no
public = yes
force user = nobody
force group = nobody
ea support = yes
vfs objects = catia fruit streams_xattr
fruit:resource = file
fruit:metadata = netatalk
fruit:locking = netatalk
fruit:encoding = native

means you have mounted the disk as external share and not as internal disk, that menas you cannot create shared folders on it but nevrtheless it should be visible as share Volume_1 in explorer

You mentioned you can see the raspberry nas in explorer or network , what happens if you click on it ?
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Using Samba Drive 4.9.4 under with windows 10

Postby fvdw » Sat Nov 30, 2019 9:25 pm

I mounted the disk as external

and now I see this in explorer
$matches[2]

samba4-30-5.JPG


and smb.conf changed

Code: Select all
[Volume_1]
comment = external
path = /mnt/Volume_1
writeable = yes
printable = no
public = yes
force user = nobody
force group = nobody
ea support = yes
vfs objects = catia fruit streams_depot
fruit:resource = file
fruit:metadata = netatalk
fruit:locking = netatalk
fruit:encoding = native
You do not have the required permissions to view the files attached to this post.
fvdw
Site Admin - expert
 
Posts: 13245
Joined: Tue Apr 12, 2011 2:30 pm
Location: Netherlands

Re: Using Samba Drive 4.9.4 under with windows 10

Postby matzi » Sat Nov 30, 2019 9:26 pm

This:
[img]1.PNG[/attachment][/img]
You do not have the required permissions to view the files attached to this post.
matzi
Donator VIP
Donator VIP
 
Posts: 253
Joined: Wed Jul 06, 2011 8:08 am
Location: Hannover Germany

PreviousNext

Return to Computers and General Discussions

Who is online

Users browsing this forum: No registered users and 3 guests