If you want a decent simple samba configuration to share stuff with windows machines, here is a good config for a non-secured public accessible r/w file sharing setup. Works with samba 3.6, may work with later versions too.
Backup your old/original config and open a new one located in /etc/samba/smb.conf
[global]
dns proxy = no
load printers = no
disable spoolss = yes
guest account = nobody
map to guest = Bad Password
workgroup = MyGroupName
server string = publicly shared files
netbios name = MyServerName
hostname lookups = yes
local master = yes
security = user
create mask = 0777
log file = /var/log/samba.log
directory mask = 0777
[public]
path = /home/username/folder_to_share
printable = no
writeable = yes
browseable = yes
only guest = yes
to start the server run:
/etc/rc.d/samba start
And if you want an automated setup then add "samba" or "smbd nmbd" to PKG_SCRIPTS in /etc/rc.conf.local.
newfs_ext2fs -b 4K -O 1 /dev/rsd0k
- HOME
~~~~~~~~~~~~~~~
- OpenBSD
- NetBSD
- FreeBSD
- Linux
- Solaris
- Windows
~~~~~~~~~~~~~~~
- Git
- Ansible
- Atlassian
- Network tools
- Qemu
- Virtualbox
- Vim
- Tmux
- Mutt
- STar
~~~~~~~~~~~~~~~
- MySQL
- PostgreSQL
- Postfix
- OpenSSL
- tcpdump
- SSH
~~~~~~~~~~~~~~~
- Packet Filter
- IP Filter
~~~~~~~~~~~~~~~
- Bash
- web-dev
- Hacking
- LINUX DAYS