samba4では、色々と管理が変わってしまった。

記録しておく

 

rc.conf

samba_server_enable="YES"

 

/usr/local/etc/smb4.conf

[global]
   workgroup = [ワークグループ]
   server string = Home server
   security = user
   hosts allow = 192.168.0., 127.
   interfaces = 127.0.0.1 192.168.0.90
   load printers = no
   log file = /var/log/samba4/log.%m
   max log size = 50
   dns proxy = no
   unix charset = UTF-8
   dos charset = cp932
   wins support = Yes
   idmap config * : range =
   idmap config * : backend = tdb
   wide links = Yes
   bind interfaces only = yes

[homes]
        comment = Home Directories
        read only = No
        browseable = No

[public]
        comment = Public Stuff
        path = [フルパス]
        read only = No
        force create mode = 0666
        force directory mode = 0777
        guest ok = Yes

 

ユーザー追加

pdbedit -a [ユーザー]

 

Joomla templates by a4joomla