User Tools

Site Tools


Sidebar






newpage

linux:network:samba

Samba

howto serve windows-style shares - Samba3 - CIFS

infos from: http://micheljansen.org/blog/entry/182

/etc/samba/smb.conf:

[global]
security                = user
guest account           = nobody
map to guest            = Bad User
..

public readable share:

[share]
      comment = Public Share
      browsable = yes
      path = /public
      public = yes
      writable = no
      write list = your_username_with_write_access_here
      guest ok = yes

add guest user:

smbpasswd -an nobody

restart samba server:

/etc/init.d/samba restart

mount share example

mount -t cifs //servername/share /mnt/share

if you get permission denied add: “-o guest”

linux/network/samba.txt · Last modified: 2012/07/13 16:58 by tkilla