Samba: различия между версиями

Материал из Artem Aleksashkin's Wiki
Перейти к навигации Перейти к поиску
(Новая страница: «= Simple shared folder = <pre> mkdir /home/artem/sambashare/ sudo nano /etc/samba/smb.conf sudo service smbd restart sudo ufw allow samba </pre> <pre> [sambashare] comment = Samba on Ubuntu path = /home/artem/sambashare writeable = yes browseable = yes public = yes create mask = 0644 directory mask = 0755 force user = artem </pre> = Passwords = use smbpasswd»)
 
Нет описания правки
 
(не показаны 3 промежуточные версии этого же участника)
Строка 1: Строка 1:
= Simple shared folder =
= Simple shared folder =
<pre>
<pre>
sudo apt install samba
mkdir /home/artem/sambashare/
mkdir /home/artem/sambashare/
sudo nano /etc/samba/smb.conf
sudo nano /etc/samba/smb.conf
Строка 20: Строка 21:
= Passwords =
= Passwords =


use smbpasswd
* use smbpasswd
* Disable Windows passwords: https://superuser.com/questions/827986/how-to-share-any-folder-without-password-in-windows-8-10-in-a-home-network-if-a
 
= Android TV =
 
* VLC can connect to sabma folders and play from it!

Текущая версия от 16:10, 19 декабря 2024

Simple shared folder

sudo apt install samba
mkdir /home/artem/sambashare/
sudo nano /etc/samba/smb.conf
sudo service smbd restart
sudo ufw allow samba
[sambashare]
    comment = Samba on Ubuntu
    path = /home/artem/sambashare
    writeable = yes
    browseable = yes
    public = yes
    create mask = 0644
    directory mask = 0755
    force user = artem

Passwords

Android TV

  • VLC can connect to sabma folders and play from it!