Установка Samba на FreeBSD

/usr/ports/net/samba410
make install clean

Если в процессе установки получаю ошибку

===>  llvm80-8.0.1_3 needs Python 3.6 at least, but 2.7 was specified.
*** Error code 1

Stop.
make[8]: stopped in /usr/ports/devel/llvm80
*** Error code 1

В файле /etc/make/conf добавляю строку

PYTHON_VERSION=python3.6

перехожу в /usr/ports/devel/llvm80 и запускаю установку

cd /usr/ports/devel/llvm80
make install clean

Настройка

Создаю в папке /usr/local/etc/ создаю файл smb4.conf

cat /usr/local/etc/smb4.conf
[global]
      bind interfaces only = Yes
      dos charset = cp866
      unix charset = utf8
      interfaces = 10.215.130.20/24
      netbios name = FILE-SERVER
      server string = KLOTIK Server
      workgroup = KLOTIK
      domain master = No
      os level = 33
      preferred master = Yes
      log file = /var/log/samba/log.%m
      max log size = 500
      load printers = No
      security = USER
      idmap config * : backend = tdb
      hosts allow = 10.215.130.0/24
      map to guest = Bad Password
      guest account = nobody

[torrent]
      comment = torrent downloads
      path = /mnt/torrent/Downloads
      public = yes
      writable = yes
      read only = No
      create mask = 0777
      directory mask = 0777

Запуск

service samba_server start

Ссылки:
https://www.dmosk.ru/instruktions.php?object=nastroyka-samba4-na-freebsd-10
https://www.nibbl.ru/freebsd/ustanovka-i-nastrojka-samba-servera-na-freebsd.html
http://www.lissyara.su/articles/freebsd/programms/samba+nt_acl
http://mediaunix.com/prostejshaya-samba-na-freebsd-s-avtorizaciej-dlya-dostupa/