Find the answer to your Linux question:
Results 1 to 6 of 6
I have a Linux RHEL4 system running samba. I can see the shares on my WinXP system, but when I attempt to access the share, I get an error msg ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Sep 2008
    Posts
    11

    SAMBA problem


    I have a Linux RHEL4 system running samba. I can see the shares on my WinXP system, but when I attempt to access the share, I get an error msg that says I do not have permission.

    What am I doing wrong on the Samba side of things.

  2. #2
    Linux Newbie jnike's Avatar
    Join Date
    Sep 2006
    Location
    UK
    Posts
    120
    Quote Originally Posted by jhaxxar View Post
    I have a Linux RHEL4 system running samba. I can see the shares on my WinXP system, but when I attempt to access the share, I get an error msg that says I do not have permission.

    What am I doing wrong on the Samba side of things.
    Hi jhaxxar,

    You may just need to check your permissions on the samba share, or samba group membership to share.

    I hope this is of help.

    Jnike

  3. #3
    Just Joined!
    Join Date
    Sep 2008
    Posts
    11
    Still having problems

    My smb.conf file is

    [global]

    workgroup = workgroup
    server string = Samba Server
    encrypt passwords = yes
    username map = /etc/samba/smbusers

    [homes]
    comment = Home Directories
    browseable = no
    writeable = yes

    [root]
    path = /root
    writeable = yes
    guest ok = yes

    [Software1]
    comment = Software Dept Server
    path = /software1
    writeable = yes
    guest ok = yes

    My smbusers file

    # Unix_name = SMB_name1 SMB_name2 ...
    root = administrator admin
    nobody = guest pcguest smbguest
    adm = jdonaldson
    jdonaldson = jdonaldson


    My smbpasswd file

    jdonaldson:500:73AB.......................


    When I access the system from my WinXP system I see both the Home and Software1 shares. When I click on the Software1 share a username/password box pops up. The Username part is greyed out and says Software\guest. The password box is writeable.

    It should have come up and allowed to put user "jdonaldson".

    So what am I doing wrong?

  4. #4
    Linux Newbie jnike's Avatar
    Join Date
    Sep 2006
    Location
    UK
    Posts
    120

    Post

    Hi jhaxxar,

    1 - You may have to change the permission on the directory which is named software1 to possibly 1775.

    [Software1]
    comment = Software Dept Server
    path = /software1
    writeable = yes
    guest ok = yes

    2 - You may have to check your /etc/samba/smbusers file does it contain the users who have permission to access you relavant samba shares.

    I hope this is of help.


    Jnike

  5. #5
    Linux Newbie jnike's Avatar
    Join Date
    Sep 2006
    Location
    UK
    Posts
    120
    Hi jhaxxar,

    For more assistants use the following link;

    Samba - opening windows to a wider world


    I hope this is of help.

    Jnike

  6. #6
    Just Joined!
    Join Date
    Sep 2008
    Posts
    11
    thanks all for replying. A poster suggested that when I do an access from WinXP that I use the "Map Network Drive" feature and click on the "connect using a different username", which pops up a usename/password box. It then connected to the RHEL4 system and put me in the correct folder.

    In order for all my users to access the same folder, I created a common usrname/password and set all their systems to auto-login to it.

Posting Permissions

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