Samba4 Public Share: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
(Die Seite wurde neu angelegt: „*apt install samba *mkdir /mnt/share *vi /etc/samba/smb.conf <pre> [global] workgroup = WORKGROUP server string = %h server (Samba, Ubuntu) dns proxy…“) |
(kein Unterschied)
|
Aktuelle Version vom 6. Februar 2023, 19:44 Uhr
- apt install samba
- mkdir /mnt/share
- vi /etc/samba/smb.conf
[global] workgroup = WORKGROUP server string = %h server (Samba, Ubuntu) dns proxy = no log file = /var/log/samba/log.%m max log size = 1000 panic action = /usr/share/samba/panic-action %d server role = standalone server passdb backend = tdbsam unix password sync = yes pam password change = yes passwd program = /usr/bin/passwd %u passwd chat = *new*password* %n\n *new*password* %n\n *updated* passwd chat debug = yes map to guest = bad user usershare allow guests = yes acl allow execute always = yes [share] comment = public anonymous access path = /mnt/share/ browsable =yes create mask = 0660 directory mask = 0771 writable = yes guest ok = yes
- systemctl enable smbd --now