Find the answer to your Linux question:
Results 1 to 6 of 6
Hi before I tell you my problem I will explain my setup I have a SUSE linux server running SAMBA Server with various shares configured allready. Those shares are accessed ...
  1. #1
    Just Joined! illgamer's Avatar
    Join Date
    Jan 2008
    Posts
    3

    SAMBA share problem when password used

    Hi before I tell you my problem I will explain my setup I have a SUSE linux server running SAMBA Server with various shares configured allready. Those shares are accessed by various windows boxes though out the network. I have the following problem I need to set up a share that will be password protected so I use the following options when configuring the share in smbconf :

    guest ok = no
    valid user = userX

    Indeed I am asked for a user name and password when I try to open the share from a windows box. The problem is I get a
    You may not have permission to use this network resource error when I enter the user name and password specified in the share.

    I already created userX as a system user and added it to smbpasswd, so I don't know what could be the problem thanx for any help you can provide in advanced.

  2. #2
    Just Joined! swerdna's Avatar
    Join Date
    Apr 2006
    Location
    Oz
    Posts
    67
    Quote Originally Posted by illgamer View Post
    Hi before I tell you my problem I will explain my setup I have a SUSE linux server running SAMBA Server with various shares configured allready. Those shares are accessed by various windows boxes though out the network. I have the following problem I need to set up a share that will be password protected so I use the following options when configuring the share in smbconf :

    guest ok = no
    valid user = userX

    Indeed I am asked for a user name and password when I try to open the share from a windows box. The problem is I get a
    You may not have permission to use this network resource error when I enter the user name and password specified in the share.

    I already created userX as a system user and added it to smbpasswd, so I don't know what could be the problem thanx for any help you can provide in advanced.
    That's not a valid share. Please supply the full paragraph out of smb.conf for the share so I can more adequately advise you.

    Swerdna

  3. #3
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,695
    Along with the account in /etc/passwd and then added to smbpasswd, the user userX needs to have permissions in the Unix filesystem.

    So if you are sharing /folder/share, does userX have at least read access to /folder/share by either being the owner or a member of a group that has read access?

  4. #4
    Just Joined! illgamer's Avatar
    Join Date
    Jan 2008
    Posts
    3
    Yes userX is the owner for the folder and has all the rights for it. Also it seams that only my main testing windows box has this problem I tried accessing the samba share from another windows box different to the one I was using before and everything worked ok, so I guess is not a SAMBA problem thanx for your replies.

  5. #5
    Linux Guru
    Join Date
    Nov 2007
    Posts
    1,695
    Does your Windows machine have "Simple File Sharing" enabled? You may want to disable that and test if so...

  6. #6
    Just Joined! illgamer's Avatar
    Join Date
    Jan 2008
    Posts
    3
    I tried removing simple file sharing but still it won't work. Another thing I created a second password protected share in the samba server and while testing it out in one of the pc where everything work fine I found out that I can't open both shares at the same time I can either open share1 or share2 but not both or I get the same error as before:

    You may not have permission to use this network resource .. using multiple connections with different user names is not permitted....

    So if I want to access the other share I need to end my current session and start again. I'm guessing this is the same problem with my original windows box.

Posting Permissions

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