Trying To Use Samba First Time Error Message "[Folder name] not accessible You might not have permission to use this network resource"
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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!
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.
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.
Perhaps "workgroup" would have been a better term than domain. Anyway, in smb.conf:
Code:
[global]
workgroup = beginnermind
In the [global] section of smb.conf (add it if you don't have one), add the above. Name the workgroup whatever you like. Be sure to restart samba.
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".
Perhaps "workgroup" would have been a better term than domain. Anyway, in smb.conf:
Code:
[global]
workgroup = beginnermind
In the [global] section of smb.conf (add it if you don't have one), add the above. Name the workgroup whatever you like. Be sure to restart samba.
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".
Hi urbanwks,
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.
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--
I'm not sure if I completely understand, but from my experience you shouldn't have any options to choose a different username on the Win authentication dialog... you should just be able to type "WORKGROUP/joe" in the user name box.
I might not be able to help any further but if you post your entire smb.conf, someone might be able to spot something.
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
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.