Jump to content


timkvist

Member Since 27 Dec 2012
Offline Last Active 16 Jan 2021 10:46
-----

Posts I've Made

In Topic: Configuring samba server on openpli 7.0

16 February 2019 - 12:52

Wooo is working now  :D  :D  :D


In Topic: Configuring samba server on openpli 7.0

16 February 2019 - 12:46

 

without the empty lines, yes:

[global]
strict locking = no 

 

I try it and get back 


In Topic: Configuring samba server on openpli 7.0

16 February 2019 - 12:43

 

So you mean i can play my files if i add this link ? 

 

You mean edit smb-user.conf? And restart the box after that? That is what is suggested here, yes.

 

 

 

And i hope i can see the files play,  is that this way i have to edit it?  

 

 

#
# Add your user additions to the global section here
 
# uncomment this line to disallow unsecure access
# include = /etc/samba/smb-secure.conf
 
[global]
 

strict locking = no 


In Topic: Configuring samba server on openpli 7.0

16 February 2019 - 12:39

External HDD is connected to my STB. And i think it's samba problem because "strict locking = no" in the [global] section of smb-user.conf solve that problem.

 

So you mean i can play my files if i add this link ? 


In Topic: Configuring samba server on openpli 7.0

16 February 2019 - 12:30

@Taapat, I get what the problem is, but I want to know the why. ;) Locking can never be an issue unless the file is opened multiple times by different processes.

 

But why is working in 6.2? 

 

We don't set "strict locking" in the config, and we didn't do that in 6.2, so if this is really the cause, it can only be because the default changed in Samba. But I can't find any evidence for that.

 

The other lock related settings:

  oplocks = yes
  kernel oplocks = yes

were already set like this in 6.2.

 

 

I can see the version of Samba is changed in 7.0 

 

Could it be that ?