Samba

(16)
https://www.hiroom2.com/2016/05/11/ubuntu-16-04%E3%81%ABsamba%E3%82%92%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB%E3%81%97%E3%81%A6windows-10%E3%81%A8%E3%83%95%E3%82%A1%E3%82%A4%E3%83%AB%E5%85%B1%E6%9C%89%E3%81%99%E3%82%8B/
https://www.server-world.info/query?os=Ubuntu_16.04&p=samba


apt -y install samba cifs-utils

mkdir /smb
chmod 777 /smb

vim /etc/samba/smb.conf

[test]
path = /smb
browsable = yes
writable = yes
guest ok = yes
read only = no
create mode = 0777
directory mode = 0777


systemctl restart smbd nmbd
systemctl status smbd nmbd

pdbedit -a root
pdbedit -Lv


mount -t cifs //192.168.137.151/test /mnt -o username=root

 

(18)

apt -y install samba cifs-utils

mkdir /smb
chmod 777 /smb

vim /etc/samba/smb.conf

[test]
path = /smb
browsable = yes
writable = yes
guest ok = yes
read only = no
create mode = 0777
directory mode = 0777


systemctl restart smbd nmbd
systemctl status smbd nmbd

pdbedit -a root
pdbedit -Lv


mount -t cifs //192.168.137.145/test /mnt -o username=root

 


(9)
apt -y install samba cifs-utils

mkdir /smb
chmod 777 /smb

vim /etc/samba/smb.conf

[test]
path = /smb
browsable = yes
writable = yes
guest ok = yes
read only = no
create mode = 0777
directory mode = 0777


systemctl restart smbd nmbd
systemctl status smbd nmbd

pdbedit -a root
pdbedit -Lv


mount -t cifs //192.168.137.146/test /mnt -o username=root

 

(7)
https://orebibou.com/2014/12/centos7%E3%81%ABsamba%E3%82%92%E3%82%A4%E3%83%B3%E3%82%B9%E3%83%88%E3%83%BC%E3%83%AB/

yum -y install samba samba-client cifs-utils

mkdir /smb
chmod 777 /smb

vim /etc/samba/smb.conf

[test]
path = /smb
browsable = yes
writable = yes
guest ok = yes
read only = no

 

systemctl restart smb nmb
systemctl status smb nmb

pdbedit -a root
pdbedit -Lv


mount -t cifs //192.168.137.50/test /mnt -o username=root

 

 

(2012R2)
https://www.server-world.info/query?os=Windows_Server_2012&p=smb&f=3
https://www.server-world.info/query?os=Windows_Server_2012&p=smb&f=4