junxnone / linux

Linux wiki
https://junxnone.github.io/linux/
0 stars 0 forks source link

Tools Remote Samba #46

Open junxnone opened 5 years ago

junxnone commented 5 years ago

samba

Install & Setup

[share]
   comment = share folder
   browseable = yes
   writable = yes
   path = /home/xxx/share
   create mask = 0777
   directory mask = 0777
   valid users = xxx
   force user = nobody
   force group = nogroup
   public = yes
   available = yes

不使用密码 guest ok = yes

Login

Windows 带有域名

Windows 多用户登录同一server

Ubuntu

安装cifs支持

sudo apt-get install cifs-utils
sudo mount -t cifs //xxxx.xxx.xxx.xxx/share /your/path/ -o username=xxx,password=xxx

Reference