Unable to connect to SMB Shares on new installation of TRUENAS Core 13.1-MASTER

boredandlazy

Dabbler
Joined
Jul 16, 2023
Messages
11
SMB Shares flat out will not work for me when installating the latest 13.1-MASTER TRUENAS Core Image. I have to use this version as the current stable 13.0 U5 refuses to install on my B760 + Core i7 13700 system.
I create a local account, I set up the data pool, I create a dataset and set the ACLs to have the account be the owner. After creating the SMB share I get invalid password errors when attempting to connect with my PC. Enabling guest access allows me to access the shares.
If I view /var/log/samba4/auth_audit.log I see the error "NT_STATUS_NO_SUCH_USER".
If I install the current stable release of TRUENAS scale and follow the same steps SMB shares work perfectly fine.

I had a look at the files in /usr/local/etc and smb4_share.conf was empty, smbusername.map was empty and smb4.conf had barely anything in it.

It seems like the SMB config isn't being generated correctly? Unfortunately I can't try older versions since they won't install on my hardware.

Is there a way to manually configure these files since they don't seem to work automatically?
 

boredandlazy

Dabbler
Joined
Jul 16, 2023
Messages
11
Here are the contents of smb4.conf:

[global]
dns proxy = No
aio max threads = 2
max log size = 5120
load printers = No
printing = bsd
disable spoolss = Yes
dos filemode = Yes
kernel change notify = No
directory name cache size = 0
server multi channel support = No
nsupdate command = /usr/local/bin/samba-nsupdate -g
unix charset = UTF-8
log level = 1 auth_json_audit:3@/var/log/samba4/auth_audit.log
obey pam restrictions = False
rpc_daemon:mdssd = disabled
rpc_server:mdssvc = disabled
enable web service discovery = True
username map = /usr/local/etc/smbusername.map
username map cache time = 60
logging = file
server min protocol = SMB2_02
unix extensions = No
restrict anonymous = 2
server string = TrueNAS Server
bind interfaces only = Yes
netbios name = truenas
netbios aliases =
server role = standalone
workgroup = WORKGROUP
idmap config *: backend = tdb
idmap config *: range = 90000001-100000000
registry shares = yes
include = registry
 

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
Here are the contents of smb4.conf:

[global]
dns proxy = No
aio max threads = 2
max log size = 5120
load printers = No
printing = bsd
disable spoolss = Yes
dos filemode = Yes
kernel change notify = No
directory name cache size = 0
server multi channel support = No
nsupdate command = /usr/local/bin/samba-nsupdate -g
unix charset = UTF-8
log level = 1 auth_json_audit:3@/var/log/samba4/auth_audit.log
obey pam restrictions = False
rpc_daemon:mdssd = disabled
rpc_server:mdssvc = disabled
enable web service discovery = True
username map = /usr/local/etc/smbusername.map
username map cache time = 60
logging = file
server min protocol = SMB2_02
unix extensions = No
restrict anonymous = 2
server string = TrueNAS Server
bind interfaces only = Yes
netbios name = truenas
netbios aliases =
server role = standalone
workgroup = WORKGROUP
idmap config *: backend = tdb
idmap config *: range = 90000001-100000000
registry shares = yes
include = registry

13.1 Master is very immature... its pre-alpha and not recommended for anyone except developers.

SCALE would be recommended for newer hardware.
 

boredandlazy

Dabbler
Joined
Jul 16, 2023
Messages
11
13.1 Master is very immature... its pre-alpha and not recommended for anyone except developers.

SCALE would be recommended for newer hardware.
Thanks. After SCALE installed fine I was planning to do that, but then I needed to get MySQL up and running and to be honest the whole docker system is just way over my head. The available documentation is almost zero help to someone like me with no experience in Kubernetes so I thought I'd at least try CORE again. I guess it's back to wrapping my head around SCALE again. If there's something you can recommend I look at to help I'd certainly take a look.
 
Last edited:

morganL

Captain Morgan
Administrator
Moderator
iXsystems
Joined
Mar 10, 2018
Messages
2,694
Thanks. After SCALE installed fine I was planning to do that, but then I needed to get MySQL up and running and to be honest the whole docker system is just way over my head. The available documentation is almost zero help to someone like me with no experience in Kubernetes so I thought I'd at least try CORE again. I guess it's back to wrapping my head around SCALE again. If there's something you can recommend I look at to help I'd certainly take a look.

I'd suggest starting a new thread with the Apps you want to install. Write down a plan, get feedback and then if there are issues, you can ask questions.
 
Top