Skip to content

Instantly share code, notes, and snippets.

@tdack
Created August 6, 2014 15:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tdack/3404b92cbfe14df376a0 to your computer and use it in GitHub Desktop.
Save tdack/3404b92cbfe14df376a0 to your computer and use it in GitHub Desktop.
BeagleBone Black smb.conf for Cloud 9 IDE to enable access from other systems. This is insecure as it allows a guest connecting to the samba share root access to the /var/lib/cloud9 directory - but you already get this through the Cloud9 browser IDE
################################################################################
# samba.conf
# This configuration file allows you to customize the samba shares
# available from your machine
[global]
server string = BeagleBone Black Cloud 9 IDE
workgroup = WORKGROUP
netbios name = %h
security = share
guest account = root
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_RCVBUF=65536 SO_SNDBUF=65536
smb ports = 445
max protocol = SMB2
min receivefile size = 16384
deadtime = 30
os level = 20
mangled names = no
syslog only = yes
syslog = 2
name resolve order = lmhosts wins bcast host
preferred master = auto
domain master = auto
local master = yes
printcap name = /dev/null
load printers = no
browseable = yes
writeable = yes
printable = no
encrypt passwords = true
enable core files = no
passdb backend = smbpasswd
smb encrypt = disabled
use sendfile = yes
# Using the following configurations as a template allows you to add
# writable shares of disks and paths
[Cloud9]
path = /var/lib/cloud9
available = yes
browsable = yes
public = yes
writable = yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment