Samba

Main Menu

edit SideBar

Samba

Samba stuff I figured out

Example of a public Samba share (smb.conf)

Beforehand, run an "smbpasswd -an nobody" to create a blank password entry. When done, be sure to restart Samba.

    [global]
    log file = /var/log/samba.log
    workgroup = MSHOME
    server string = File server
    security = share
    encrypt passwords = yes
    local master = yes
    wins support = yes
    name resolve order = wins lmhosts hosts bcast dns
    interfaces = eth0
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    guest account = nobody
    hosts allow = 192.168.1.
    map to guest = bad user

    [public]
    force user = nobody
    comment = Public files
    path = /drive/public
    public = yes
    writable = yes
    browseable = yes
    create mode = 0666
    directory mode = 0777
    printable = no
    guest only = yes

Reference links

Recent Changes (All) | Edit SideBar Page last modified on October 12, 2007, at 01:55 PM Edit Page | Page History
Powered by PmWiki