Linux?
sudo yum -y install samba
sudo apt-get install samba
sudo apt install samba
sudo smbpasswd -a ユーザー名
unix charset = UTF-8 dos charset = CP932 # Change this to the workgroup/NT-domain name your Samba server will part of workgroup = WORKGROUP # server string is the equivalent of the NT Description field server string = %h server (Samba, Ubuntu) dns proxy = no min protocol =NT1 #max protocol =SMB3 client max protocol = default socket options = TCP_NODELAY interfaces = 192.168.0.0/16 eth0
[home] comment= path=/home/hogehoge/ writable=Yes valid users=hogehoge create mask = 0777 directory mask = 0777
socket options = TCP_NODELAY
[global] strict locking = no
sudo service winbind start
sudo dnf install wsdd
sudo vi /etc/sysconfig/wsdd
-D -w ワークグループ名 --interface インターフェイス名 --ipv4only
-D -w work --interface enp3s0 --ipv4only
sudo systemctl restart nmb
sudo systemctl status nmb
max protocol =SMB2
testparm -v
client min protocol = SMB3
min protocol =SMB3
max protocol =SMB3
testparm