We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
sudo apt install -y samba smbclient
sudo vi /etc/samba/smb.conf
[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
guest ok = yes
sudo smbpasswd -a xxx
sudo systemctl restart smbd.service
\
\user_1
net use * /del /y
valid users = user_1 user_2
安装cifs支持
sudo apt-get install cifs-utils
sudo mount -t cifs //xxxx.xxx.xxx.xxx/share /your/path/ -o username=xxx,password=xxx
The text was updated successfully, but these errors were encountered:
No branches or pull requests
samba
Install & Setup
Login
Windows 带有域名
\
符号 -\user_1
Windows 多用户登录同一server
net use * /del /y
valid users = user_1 user_2
Ubuntu
安装cifs支持
Reference
The text was updated successfully, but these errors were encountered: