Trying To Use Samba First Time Error Message "[Folder name] not accessible You might not have permission to use this network resource"
Dear Forum,
I am using Samba for the first time trying to create a share folder between my Ubuntu 14.04.3 and my Windows 7 Home Premium I am following the instructions in this guide here: http://www.howtogeek.com/176471/how-...ows-and-linux/ Unfortunately, when I click on the finished shortcut in Windows 7 after typing in my user name and password I am given an error message that "[folder name] is not accessible You might not have permission to use this network resource" smb.conf checks out fine [Share] path = /home/joe/Desktop/Share ; available = yes writeable = yes ; browseable = yes guest ok = yes Samba pdbedit shows user is there also joe:1000:Joe root:0:root Any suggestions would be really helpful -- thanks! |
Have you tried adding valid users=joe to that smb.conf?
|
Hi rtmistler,
I did smbpasswd -a joe and changed my password a couple times I'm not quite sure where to edit smb.conf directly to add users I'll try and look. I even turned off specific users and made guest ok still don't know why it isn't working. Thanks- |
Sorry I just saw what you meant.
Yeah, I did "valid users = Joe" previously then I turned off specific users and made guest okay but still not working thanks- |
Make sure your samba domain for the Linux machine is the same as the domain your Windows machine is assigned to.
If it isn't, when logging into the samba server from Windows make sure your user name is linuxdomain/joe, where linuxdomain=whatever your smb domain is on the Linux machine. You can set the domain in smb.conf, if I recall correctly. |
Quote:
Can you explain to me where to check that? Thanks! |
Perhaps "workgroup" would have been a better term than domain. Anyway, in smb.conf:
Code:
[global] On the windows machine when it asks for your credentials, use the following: user: beginnermind/joe pass: [whatever your password is] You should be able to check the domain/workgroup on Windows in Control Panel->System. If the two match, you shouldn't have to include the "beginnermind/" (or whatever) in the user ID, just the "joe". |
Try creating a 'Map Drive' instead from Windows machine. I found it a lot easier to work with.
Now, if nothing happens still, go back to Ubuntu and open a terminal and try this: Code:
testparm |
Quote:
I went into smb.conf and made sure that workgroup = WORKGROUP (all caps) which matches both my Windows 7 machine and what it says in Samba. My Windows machine also has Linux as a dual boot (it's a still a separate comp from the Ubuntu comp I am trying to share files with) I don't know if that is a factor but when I ask to "switch users" I don't really get any options to change user names. Still getting the same error though-- |
Quote:
Thanks for your help I got the following error message from terminal: Load smb config files from file rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384) Error loading services. |
Quote:
I might not be able to help any further but if you post your entire smb.conf, someone might be able to spot something. |
It seems samba is not running. Can you confirm by issuing this:
Code:
ss -4tln -o state listening '( sport = :445 )' |
Hi!
I got: Recv-Q Send-Q Local Address:Port Peer Address:Port 0 50 *:445 *:* I'm running into problems copying and pasting the whole smb.conf using clipboard meanwhile Thanks for your help- |
Recev-Q
0 Send-Q 50 Local Address:Port *:445 Peer Address:Port *:* |
Ok, so samba is running then, but testparm is spitting an error message. Did you try restarting samba?
Can you try to create a Map network drive from Windows? Also, check the samba logs at /var/log/samba. And it would be very helpful if you can post smb.conf |
All times are GMT -5. The time now is 02:28 AM. |