- Joined
- Mar 6, 2014
- Messages
- 9,553
Okay. It looks like you've had a permissions reset inside your system dataset. This has broken samba by setting incorrect permissions. Assuming this is a fairly recent release, let's try the following:root@freenas[/mnt/RAIDZ-14TB]# ls -loTH /var/db/system
total 26
drwxrwxr-x+ 3 root wheel uarch 3 Feb 2 03:45:01 2019 configs-1c36823397d74dbc9e7d4fbefe8b455e
drwxrwxr-x+ 2 root wheel uarch 5 Mar 11 04:48:51 2019 cores
drwxrwxr-x+ 3 root wheel uarch 4 Feb 3 18:33:43 2019 ixdiagnose
-rwxrwxr-x 1 root wheel uarch 0 Jan 26 15:22:01 2019 nfs-stablerestart
-rwxrwxr-x 1 root wheel uarch 0 Jan 26 15:22:01 2019 nfs-stablerestart.bak
drwxrwxr-x+ 4 root wheel uarch 5 Mar 16 05:50:39 2019 rrd-1c36823397d74dbc9e7d4fbefe8b455e
drwxr-xr-x+ 4 root wheel uarch 14 Mar 9 15:26:44 2019 samba4
drwxrwxr-x+ 3 root wheel uarch 3 Jan 26 15:22:01 2019 syslog-1c36823397d74dbc9e7d4fbefe8b455e
drwxrwxr-x+ 2 root wheel uarch 2 Jan 26 15:22:00 2019 webui
find /var/db/system -exec setfacl -b {} \;
to strip the extended ACL entries. Permissions inside /var/db/samba4 will still be incorrect so let's do this (assuming this isn't an AD environment) rm -rf /var/db/system/samba4/*
Once you do that, run
Code:
service ix-pre-samba start service samba_server restart