====== Samba ====== ===== Instalace ===== apt install samba ===== Integrace Samba 4 do AD ===== ===== Sdílená složka - share bez ověření heslem ===== https://askubuntu.com/questions/781963/simple-samba-share-no-password sudo chown -R nobody.nogroup the_folder sudo chmod -R 777 the_folder [share_name] ;the share name can be what ever you want browseable = yes path = the_complete_path_to_the_shared_folder guest ok = yes read only = no create mask = 777 Příklad jednoduché konfigurace [global] workgroup = WORKGROUP log file = /var/log/samba/log.%m max log size = 1000 logging = file panic action = /usr/share/samba/panic-action %d server role = standalone server obey pam restrictions = yes unix password sync = yes passwd program = /usr/bin/passwd %u passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* . pam password change = yes map to guest = bad user usershare allow guests = yes [all] comment = ALL path = /mnt/img guest ok = yes browseable = yes read only = no create mask = 777 ===== Logování přístupů ===== https://serverfault.com/questions/484442/samba-logging-all-to-get-logs-about-all-user-activities-on-shared-folders-and-fi