Skip to content

Instantly share code, notes, and snippets.

View tanuva's full-sized avatar

Marcel Kummer tanuva

View GitHub Profile
@tanuva
tanuva / smb.conf
Created December 9, 2018 11:40
My smb.conf with broken directory permissions from macOS clients.
[global]
workgroup = DONTPANIC
server string = Samba Server
server role = standalone server
log file = /var/log/samba/log.%m
max log size = 50
# Needed for Time Machine
fruit:model = MacPro
#include <iostream>
#include <sstream>
#include <libwebsockets.h>
const size_t MaxFragmentSize = 65536;
const int MaxSendChunkSize = 32768;
lws_context *m_context;
lws *m_wsi;
bool abortConnection = false;
std::string m_hostName = "localhost";