Samba Server in a Jail NT_STATUS_CONNECTION_DISCONNECTED after a while

leonardorame

Contributor
Joined
Jun 30, 2018
Messages
106
Hi, in a TrueNAS 13-Release I created a jail and installed samba server. When the jail starts or when I sudo restart samba_server I can connect to the samba share without issues, but after a while, for example after one day I get "protocol negotiation failed: NT_STATUS_CONNECTION_DISCONNECTED". Does anyone know what can I do to fix this?

Here's my /usr/local/etc/smb4.conf :

Code:
[global]
workgroup           = workgroup
netbios name        = smb
server string       = samba
security            = user
max smbd processes  = 3
socket options      = TCP_NODELAY IPTOS_LOWDELAY IPTOS_THROUGHPUT SO_KEEPALIVE SO_RCVBUF=65536 SO_SNDBUF=65536
aio read size       = 16384
aio write size      = 16384
strict locking      = no
strict sync         = no
client min protocol = CORE
client max protocol = SMB3

# DISABLE PRINTING
load printers           = no
disable spoolss         = yes
show add printer wizard = no

[shared]
  path       = /home/myuser/shared
  public     = no
  writable   = yes
  browsable  = no
  write list = myuser
 

leonardorame

Contributor
Joined
Jun 30, 2018
Messages
106
Yes, what I was trying to do doesn't make sense.

I shared a dataset directly from TrueNas and everything works now.
 
Top