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 ...
- 01-10-2008 #1
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.
- 01-11-2008 #2
- 01-11-2008 #3Linux 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?
- 01-11-2008 #4
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.
- 01-11-2008 #5Linux 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...
- 01-11-2008 #6
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.


Reply With Quote
