You are not logged in.

#1 2009-04-16 02:16:09

miromanyth
Member
Registered: 2008-05-18
Posts: 25

Samba share publicly

Hello everyone,

I've read and tried endless suggestions and I cannot seem to figure this out.
I want to share 3 directories to my 2 roomates. They use windows 7 and windows xp. I want them to open "my network places" click on my hostname "oak" and find and get files from these 3 directories.

The directories are located on /dev/sdb1

How do I set up samba so they can access these 3 folders by just simply clicking a few times. No user/pass, and no security, nothing. We are sharing an internet connection via a router.

I'm about to lose my mind trying to do this SIMPLE task!!

HELP!

Offline

#2 2009-04-16 02:58:29

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,223
Website

Re: Samba share publicly

Something like this works for XP... Not sure about Vista... I recall reading something about something needing to be changed on Vista to support the 'old' smb/cifs protocol

[global]
    workgroup = WORKGROUP
    server string = Oak PC
    security = share
    log file = /var/log/samba/%m.log
    max log size = 500
    local master = yes
    os level = 33
    preferred master = yes
    dns proxy = yes
    unix extensions = no
    follow symlinks = yes
    wide links = yes

[share1]
    comment = This is a shared directory
    path = /mnt/path/dir
    read only = no
    public = yes
    force user = nobody
    force create mode = 0666
    force directory mode = 0766

[share2]
    comment = This is another shared directory
    path = /some/other/mount/path/dir
    read only = no
    public = yes
    force user = nobody
    force create mode = 0666
    force directory mode = 0766

Offline

Board footer

Powered by FluxBB