Samba share acces problem - change_to_user_internal: chdir_current_service() failed!

Perm1990

Dabbler
Joined
Feb 25, 2016
Messages
43
Hello.

I just try to configure a share, where only specific user has access to.

FreeNAS 11.3

When I try to access to the Samba share from Windows, I get access error.
In FreeNAS log:
FreeNASPrimary smbd[88283]: change_to_user_internal: chdir_current_service() failed!

The shared dataset is /mnt/Main/WinBackup

ls -ld /mnt/Main/
drwxr-xr-x 12 root wheel 12 Apr 11 13:51 /mnt/Main/

ls -ld /mnt/Main/WinBackup/
drwxrwx---+ 3 BackupUser Winbackups 5 Jun 5 17:09 /mnt/Main/WinBackup/

getfacl /mnt/Main/WinBackup/
# file: /mnt/Main/WinBackup/
# owner: BackupUser
# group: Winbackups
owner@:rwxpDdaARWcCos:fd-----:allow
group@:rwxpDdaARWcCos:fd-----:allow
everyone@:--------------:fd-----:allow

testparm -s
Load smb config files from /usr/local/etc/smb4.conf
Loaded services file OK.
Server role: ROLE_STANDALONE

# Global parameters
[global]
aio max threads = 2
bind interfaces only = Yes
disable spoolss = Yes
dns proxy = No
enable web service discovery = Yes
kernel change notify = No
load printers = No
max log size = 51200
nsupdate command = /usr/local/bin/samba-nsupdate -g
restrict anonymous = 2
server min protocol = SMB2_02
server role = standalone server
server string = FreeNAS Server
unix extensions = No
username map = /usr/local/etc/smbusername.map
username map cache time = 60
idmap config *: range = 90000001-100000000
idmap config * : backend = tdb
allocation roundup size = 0
directory name cache size = 0
dos filemode = Yes
ea support = No
include = /usr/local/etc/smb4_share.conf
map archive = No
store dos attributes = No

[WinBackup]
aio write size = 0
comment = Backup of Windows PCs
mangled names = illegal
path = /mnt/Main/WinBackup
read only = No
vfs objects = streams_xattr zfs_space zfsacl
nfs4:acedup = merge
nfs4:chown = true

Thank you in advanced.
 
Top