Find the answer to your Linux question:
Results 1 to 3 of 3
Hi everyone, I have newly installed RHEL on my server, now Im trying to put a samba on that.. I hvae created two users "mahesh" and "gupta" and I have ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Oct 2009
    Posts
    85

    Problem with Samba server


    Hi everyone, I have newly installed RHEL on my server, now Im trying to put a samba on that.. I hvae created two users "mahesh" and "gupta" and I have following configurations :

    workgroup = MYGROUP
    server string = Samba Server Version %v
    netbios name = Samba
    encrypt passwords = yes

    work[homes]
    comment = Home Directories
    browseable = yes
    writable = yes
    valid users = %S
    ; valid users = MYDOMAIN\%S

    [printers]
    comment = All Printers
    path = /var/spool/samba
    browseable = no
    guest ok = no
    writable = no
    printable = yes

    # Un-comment the following and create the netlogon directory for Domain Logons
    ; [netlogon]
    ; comment = Network Logon Service
    ; path = /var/lib/samba/netlogon
    ; guest ok = yes
    ; writable = no
    ; share modes = no


    # Un-comment the following to provide a specific roving profile share
    # the default is to use the user's home directory
    ; [Profiles]
    ; path = /var/lib/samba/profiles
    ; browseable = no
    ; guest ok = yes


    # A publicly accessible directory, but read only, except for people in
    # the "staff" group
    ; [public]
    ; comment = Public Stuff
    ; path = /home/samba
    ; public = yes
    ; writable = yes
    ; printable = no
    ; write list = +staff
    [everyone]
    path = /home/
    readonly = no
    brosweable = yes
    When I login to my server from my windows side with mahesh or gupta. Im able to login and Im able to see the folders, but when I open the folders.. I always get access denied. Can anyone help me to get ride of this prblem.
    Also can anyone give me what to do when I want get full access of complete RFS when I login as root into my samba.

  2. #2
    Linux Enthusiast scathefire's Avatar
    Join Date
    Jan 2010
    Location
    Western Kentucky
    Posts
    626
    Just because you set samba permissions doesn't that server is going to ignore UNIX permissions
    linux user # 503963

  3. #3
    Just Joined!
    Join Date
    Oct 2010
    Posts
    30
    Directory
    /Home/staff
    make your groups; staff

    change owner of /Home/staff

    group permissions

    staff 770

    add user to group
    "mahesh" and "gupta"

    add user to samba

    The users have no system privileges only samba

  4. $spacer_open
    $spacer_close

Posting Permissions

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