Results 1 to 5 of 5

Thread: Samba share rights

  1. #1

    Samba share rights

    Hi Guys,

    I'm setting up a small samba share server on my home lan, and I'm having some configuration errors.

    This is what I want to do:

    I want to share the following directories:

    /music --Read-only by everyone but user Trickster
    /stuff --Read-Write for everyone
    /Jorge --Read-Write for user Trickster, no access for anyone else.

    This is my smb.conf file:

    smb.conf

    Now, if I browse the network under Windows, I see the server,though not the shares. If I click on the server (as to see what is inside. ie. the shares.) it asks me to type in a username and password, and no matter what I type, I can't get in. ???

    Also, are my share definitions correct for what I want to do?

    Thanks for any input.

  2. #2
    Mentor coltrane's Avatar
    Join Date
    May 2001
    Location
    North Carolina
    Posts
    1,390

    Re:Samba share rights

    have you setup your samba users?

  3. #3

    Re:Samba share rights

    Ok, I figured I had to run smbpasswd. Now I am getting to some shares. My questions are now:

    1. How can I restrict some folders only for certain users?

    2. Do I have to create a local account for each user?

    3. Is there a way to set it up so the user won't be prompted for a password? Would that be a big security risk?

  4. #4

    Re:Samba share rights

    How much of a security riskis to SUID smbmnt?

  5. #5
    Moderator
    Good Guru
    Schotty's Avatar
    Join Date
    Jul 2001
    Location
    Milwaukee, WI
    Posts
    5,760

    Re:Samba share rights

    [quote author=trickster link=board=4;threadid=7883;start=0#msg72108 date=1065489415]
    How much of a security riskis to SUID smbmnt?
    [/quote]

    Woe, dont do that!

    Ill look into this in my Samba book. This isnt that bad as I recall. Just a few lines here and there.

Similar Threads

  1. Samba PDC Access Rights
    By paulreynand in forum Linux - Software, Applications & Programming
    Replies: 1
    Last Post: 02-04-2006, 06:48 AM
  2. Samba share no writable
    By Rich0379 in forum Linux - General Topics
    Replies: 9
    Last Post: 09-29-2005, 07:23 PM
  3. Renter's Rights?
    By gmoreno in forum General Chat
    Replies: 12
    Last Post: 07-10-2004, 09:43 PM
  4. how to connect OSX to a samba share?
    By ph34r in forum Linux Distros
    Replies: 5
    Last Post: 07-09-2003, 04:35 AM
  5. Re: Samba trouble (Accessing my share from windows
    By airhead in forum Linux - Hardware, Networking & Security
    Replies: 4
    Last Post: 02-01-2002, 11:00 PM

Bookmarks

Posting Permissions

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