No more Samba sharing for root ?

chrWal

Dabbler
Joined
May 17, 2020
Messages
10
What am I doing wrong ?
I can see my files from Windows, but as I cannot enable Samba for root (see attached file), I cannot do anything else ! Changing password before or after doesn't change anything, Samba cannot be enabled, I tried many times. Is there a procedure to do it ?
This worked perfectly with FreeNAS. So is FTP the only way to access NAS files from Windows ? The root account refuses to accept the Samba authentication. And if I log with an user account, there is no way to sudo into root, so same result.
I hope this is just a bug, or TrueNAS is just... useless !
(TrueNAS 12.0 / Windows 10 Pro 64)
 

Attachments

  • 20201101-235722-630_LI.jpg
    20201101-235722-630_LI.jpg
    585.9 KB · Views: 617
Last edited:

Anda

Explorer
Joined
Aug 12, 2015
Messages
63
What am I doing wrong ?
I can see my files from Windows, but as I cannot enable Samba for root (see attached file), I cannot do anything else ! Changing password before or after doesn't change anything, Samba cannot be enabled, I tried many times. Is there a procedure to do it ?
This worked perfectly with FreeNAS. So is FTP the only way to access NAS files from Windows ? The root account refuses to accept the Samba authentication. And if I log with an user account, there is no way to sudo into root, so same result.
I hope this is just a bug, or TrueNAS is just... useless !
(TrueNAS 12.0 / Windows 10 Pro 64)

Its not supported anymore. I had used root too, but It not very safe. Just create a new user and do permissions via ACL.
Tutorial: https://youtu.be/k0X0geU6NOA?t=157
 

chrWal

Dabbler
Joined
May 17, 2020
Messages
10
Thanks for answering and for the link ! Then I think the whole thing is going to be a waste of time and too hard for me. I prefer to give up with TrueNAS for something else...
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,553
Depending on how the share / permisions is configured, you may be able to get by with just creating a user "smbuser", and then "chown -R <smbuser> /mnt/<your pool>/<your share>".
 
Top