5

I've joined a FreeNAS 11.3 in an Active Directory and everything works as expected. But one feature that I'm really missing is some kind of override on mapped home directories for users.

By default the directories are with the following template expansion: template homedir = /home/%D/%U

I want to change it to something like: /mnt/pool0/home/%U

There's no way on the web interface to do this, and I don't know if changing it directly on /usr/local/etc/smb4.conf is a good idea.

What would be the recommended solution?

Daniel
  • 6,780
  • 5
  • 31
  • 60
Vinícius Ferrão
  • 5,400
  • 10
  • 52
  • 91

1 Answers1

0

According to the man page (https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html) , you are looking for the right configuration item.

template homedir = /mnt/pool0/home/%U

will make the job.

moobyfr
  • 11
  • 1
  • 1
    Yes sure, I'm aware. But the question is how to make this modification without breaking FreeNAS, since it is an appliance and settings will be overridden. – Vinícius Ferrão Dec 22 '21 at 16:45
  • The entry `Auxiliary Parameters` in the web interface from FreeNAS is for settings with no GUI available – moobyfr Dec 23 '21 at 16:32