Gaspetaahl
Explorer
- Joined
- Sep 13, 2018
- Messages
- 76
Hello,
today I updated my Truenas Core server to 12.0-U3.1 from 12.0-U3 but after that my samba shares stopped working. My smb4.conf looks like this:
and the smb4_share.conf looks like this:
I had a similar issue after the last update where also pdbedit -L didnt show any users. Now pdbedit -L shows all my users. Last time I could fix this with disabling and then reenabling my shares in the Truenas UI. But this time this did not work.
The error I see when using smbclient looks like this:
Windows says that the security policies of my organization dont allow access.
mount -t cifs shows:
today I updated my Truenas Core server to 12.0-U3.1 from 12.0-U3 but after that my samba shares stopped working. My smb4.conf looks like this:
Code:
#
# SMB.CONF(5) The configuration file for the Samba suite
# $FreeBSD$
#
[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
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
enable web service discovery = True
logging = file
server min protocol = SMB2_02
unix extensions = No
map to guest = Bad User
server string = FreeNAS Server
bind interfaces only = Yes
netbios name = freenas
netbios aliases =
server role = standalone
workgroup = WORKGROUP
idmap config *: backend = tdb
idmap config *: range = 90000001-100000000
registry shares = yes
include = registryand the smb4_share.conf looks like this:
Code:
#
# SMB.CONF(5) The configuration file for the Samba suite
# $FreeBSD$
#
[WG]
path = /mnt/Volume1/WG
read only = no
guest ok = yes
nfs4:chown = true
ea support = false
vfs objects = zfs_space zfsacl streams_xattr
[User]
path = /mnt/Volume1/User/%U
access based share enum = yes
read only = no
guest ok = no
nfs4:chown = true
ea support = false
vfs objects = zfs_space zfsacl streams_xattr
ixnas:zfs_auto_homedir = true
[User2]
path = /mnt/Volume1/User2
read only = no
guest ok = no
nfs4:chown = true
ea support = false
vfs objects = zfs_space zfsacl streams_xattr
[VM-Data]
path = /mnt/Volume1/VM-Data
browseable = no
read only = no
guest ok = no
nfs4:chown = true
ea support = false
vfs objects = zfs_space zfsacl streams_xattrI had a similar issue after the last update where also pdbedit -L didnt show any users. Now pdbedit -L shows all my users. Last time I could fix this with disabling and then reenabling my shares in the Truenas UI. But this time this did not work.
The error I see when using smbclient looks like this:
Code:
$ smbclient //freenas.lan/WG -u alpine tree connect failed: NT_STATUS_BAD_NETWORK_NAME
Windows says that the security policies of my organization dont allow access.
mount -t cifs shows:
Code:
mount error(95): Not supported Refer to the mount.cifs(8) manual page (e.g. man mount.cifs) and kernel log messages (dmesg) mount: mounting //freenas/WG$ on /home/user/mnt/WG failed: Not supported
Last edited: