Can you please provide your exact settings so I can test?ektus wrote:It works with 1.10.0. I just confirmed it by downgrading to that version, again preserving settings.Lantis wrote:Which version did it last work with?
I fixed some share issues in the last few months
It's a very basic share, no passwords or users apart from the default anonymous, with full access from the local network. It has been installed just a couple months ago, replacing a 10+ year old dedicated NAS.
Regards
Ektus.
gargoyle-ispy 2017-December-22 08:13
Moderator: Moderators
Re: gargoyle-ispy 2017-December-22 08:13
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: gargoyle-ispy 2017-December-22 08:13
Sure. Currently working installation of 1.10.0, file /tmp/etc/smb.confLantis wrote:Can you please provide your exact settings so I can test?ektus wrote: It's a very basic share, no passwords or users apart from the default anonymous, with full access from the local network. It has been installed just a couple months ago, replacing a 10+ year old dedicated NAS.
Code: Select all
[global]
netbios name = Gargoyle
display charset = UTF-8
interfaces = 127.0.0.1/8 lo 192.168.0.180/24 br-lan
server string = Samba on Gargoyle
unix charset = UTF-8
workgroup = AHORNBERG
browseable = yes
deadtime = 30
domain master = yes
encrypt passwords = true
enable core files = no
guest account = root
guest ok = yes
local master = yes
load printers = no
map to guest = Bad User
max protocol = SMB2
min receivefile size = 16384
null passwords = yes
obey pam restrictions = yes
os level = 20
passdb backend = smbpasswd
preferred master = yes
printable = no
security = user
smb encrypt = disabled
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY IPTOS_LOWDELAY
syslog = 2
use sendfile = yes
writeable = yes
[PUBLIC]
path = /tmp/usb_mount/bfc6aa91-01
write list = admin
read only = no
guest ok = yes
create mask = 0777
directory mask = 0777
browseable = yes
What I did:
- Attach new HDD.
- Format as EXT4.
- Create share for the root directory with full access from the local network.
- Copy over some 250GB of data from the old NAS
The command "mount" shows
Code: Select all
/dev/sda1 on /tmp/share_home/anonymous/PUBLIC type ext4 (rw,noatime,data=ordered)
Regards
Ektus.
Re: gargoyle-ispy 2017-December-22 08:13
Have you tried setting up the config from scratch on 1.10.x?
your config looks incompatible with the changes that occurred.
I would try this first.
your config looks incompatible with the changes that occurred.
I would try this first.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: gargoyle-ispy 2017-December-22 08:13
I'm a little reluctant at doing so, as when I was first configuring it, I somehow lost access soon after copying the data and upon re-entering the config lost all data on the drive.Lantis wrote:Have you tried setting up the config from scratch on 1.10.x?
your config looks incompatible with the changes that occurred.
I would try this first.
I've got the impression the GUI would format the drive if it didn't recognize it correctly at the first try, but didn't investigate further.
I'll try and take a USB stick for testing, perhaps later today.
Regards
Ektus.
Re: gargoyle-ispy 2017-December-22 08:13
Okay, got a spare USB stick (4GB) to test. It works with 1.10.0 but doesn't with 1.10.X, same as before. Deleting the share and creating a new one didn't change anything. Still only the root directory visible, access denied to files and folders.
Current SMB.CONF, created with 1.10.X:
Regards
Ektus.
Current SMB.CONF, created with 1.10.X:
Code: Select all
[global]
netbios name = Gargoyle
display charset = UTF-8
interfaces = 127.0.0.1/8 lo 192.168.0.180/24 br-lan
server string = Samba on Gargoyle
unix charset = UTF-8
workgroup = AHORNBERG
browseable = yes
deadtime = 30
domain master = yes
encrypt passwords = true
enable core files = no
guest account = nobody
guest ok = yes
local master = yes
load printers = no
map to guest = Bad User
max protocol = SMB2
min receivefile size = 16384
null passwords = yes
obey pam restrictions = yes
os level = 20
passdb backend = smbpasswd
preferred master = yes
printable = no
security = user
smb encrypt = disabled
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY IPTOS_LOWDELAY
syslog = 2
use sendfile = yes
writeable = yes
[PUBLIC]
path = /tmp/usb_mount/dev_sda1
valid users = admin, nobody
write list = admin
read only = no
guest ok = yes
create mask = 0777
directory mask = 0777
browseable = yes
Regards
Ektus.
Re: gargoyle-ispy 2017-December-22 08:13
ektus wrote:Okay, got a spare USB stick (4GB) to test. It works with 1.10.0 but doesn't with 1.10.X, same as before. Deleting the share and creating a new one didn't change anything. Still only the root directory visible, access denied to files and folders.
Current SMB.CONF, created with 1.10.X:
Code: Select all
[global] netbios name = Gargoyle display charset = UTF-8 interfaces = 127.0.0.1/8 lo 192.168.0.180/24 br-lan server string = Samba on Gargoyle unix charset = UTF-8 workgroup = AHORNBERG browseable = yes deadtime = 30 domain master = yes encrypt passwords = true enable core files = no guest account = nobody guest ok = yes local master = yes load printers = no map to guest = Bad User max protocol = SMB2 min receivefile size = 16384 null passwords = yes obey pam restrictions = yes os level = 20 passdb backend = smbpasswd preferred master = yes printable = no security = user smb encrypt = disabled smb passwd file = /etc/samba/smbpasswd socket options = TCP_NODELAY IPTOS_LOWDELAY syslog = 2 use sendfile = yes writeable = yes [PUBLIC] path = /tmp/usb_mount/dev_sda1 valid users = admin, nobody write list = admin read only = no guest ok = yes create mask = 0777 directory mask = 0777 browseable = yes
Regards
Ektus.
I tested the exact same settings and it behaved as expected. Is your client misbehaving?
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.
Re: gargoyle-ispy 2017-December-22 08:13
I don't know, but with three different clients (Win XP, Win 7 and Android)? Unlikely.Lantis wrote: I tested the exact same settings and it behaved as expected. Is your client misbehaving?
Has there been an update of the kernel or smb module, perhaps trying to enforce password protection and/or encryption? There must be some difference between 1.10.0 and 1.10.X, but where?
Happy New Year!
Ektus.
Re: gargoyle-ispy 2017-December-22 08:13
The changes made fixed an error I created a while ago where ANY valid user could login to ANY share even if that user was not allowed. Bad stuff.
I wouldn’t trust the way windows handles SMB. The android should be fine.
I wouldn’t trust the way windows handles SMB. The android should be fine.
https://lantisproject.com/downloads/gargoylebuilds for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.
Please be respectful when posting. I do this in my free time on a volunteer basis.