Find the answer to your Linux question:
Results 1 to 2 of 2
Hi All Still new to Linux and especaily samba. I have setup samba for 2 shares,will list below shares. 1 which requires a login and 1 temp folder which I ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Mar 2010
    Posts
    9

    Samba Confusion


    Hi All

    Still new to Linux and especaily samba. I have setup samba for 2 shares,will list below shares. 1 which requires a login and 1 temp folder which I would like guest access to.

    Currently I have security = user which works great for the data folder which requires a login. If I try to access temp I get asked for a user name and password as well.

    I tried to set security = share which then allowed access to temp with out a login but also allowed access to the data folder. From the data folder I emoved public = yes. I then get askd for a user name and passwrod like I should but the system will not accept it.

    This is a Centos 5.5 server with a mail server on it. Any help you be great

    Had to change path as forum having a fit about url's

    data
    comment = Data Folder
    path = home
    public = yes
    writable = yes
    browseable = yes
    printable = no
    avaliable = yes
    write list = glenn,
    force create mode = 0660
    force directory mode = 0770

    temp
    comment = temp folder
    path = temp
    public = yes
    writeable = yes
    browseable = yes
    guest ok = yes
    guest only = yes
    guest account = nobody
    available = yes
    force user = nobody
    force group = nobody


    Thanks Glenn

  2. #2
    Administrator MikeTbob's Avatar
    Join Date
    Apr 2006
    Location
    Texas
    Posts
    7,864
    I'd suggest keeping it simple at first, then add your options until you get what you want. Make sure all directories have correct permissions too.
    Code:
    # We create a new share that we can read/write to from anywhere
    # This is kind of like a public temp share, anyone can do what
    # they want here.
    [public]
    comment = Public Files
    create mask = 0766
    path = /home/samba/public
    I do not respond to private messages asking for Linux help, Please keep it on the forums only.
    All new users please read this.** Forum FAQS. ** Adopt an unanswered post.

    I'd rather be lost at the lake than found at home.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •