Windows cannot access Samba server
I have an Ubuntu server, wheatley, and I'm trying to set up Samba on it for personal use on my home network. The goal is to have a Windows 8.1 computer, GLaDOS, with a drive mapped to it.
I am new to Samba. I have it installed and I did some configuration to /etc/samba/smb.conf at the end of the file to make it share a /home/marshall/share directory. I can see the server listed in my network locations from GLaDOS but if I select wheatley I get this Windows error:
Windows cannot access WHEATLEY
Check the spelling of the name. Otherwise, there might be a problem with your network. To try to identify and resolve network problems, click Diagnose.
Error code: 0x80070035
The network path was not found.
When I attempt to map the drive using either wheatleyshare or 192.168.100.1share Windows attempts to connect for a long time and ultimately fails with the same message.
I can ping and SSH into wheatley from GLaDOS.
Please let me know what I have done wrong. Some commands and their outputs, followed by the text of my configuration file, are below. Thank you!
marshall@wheatley:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty
marshall@wheatley:~$ ls -la share
total 12
drwxrwxrwx 2 marshall marshall 4096 Jul 25 21:58 .
drwxr-xr-x 8 marshall marshall 4096 Jul 25 21:51 ..
-rw-rw-r-- 1 marshall marshall 9 Jul 25 21:58 test.txt
marshall@wheatley:~$ sudo nano /etc/samba/smb.conf
--WHOLE MESS OF STUFF OMITTED--
[share]
comment = mpf
path = /home/marshall/share
browseable = yes
read only = no
guest ok = yes
writeable = yes
server samba file-sharing
add a comment |
I have an Ubuntu server, wheatley, and I'm trying to set up Samba on it for personal use on my home network. The goal is to have a Windows 8.1 computer, GLaDOS, with a drive mapped to it.
I am new to Samba. I have it installed and I did some configuration to /etc/samba/smb.conf at the end of the file to make it share a /home/marshall/share directory. I can see the server listed in my network locations from GLaDOS but if I select wheatley I get this Windows error:
Windows cannot access WHEATLEY
Check the spelling of the name. Otherwise, there might be a problem with your network. To try to identify and resolve network problems, click Diagnose.
Error code: 0x80070035
The network path was not found.
When I attempt to map the drive using either wheatleyshare or 192.168.100.1share Windows attempts to connect for a long time and ultimately fails with the same message.
I can ping and SSH into wheatley from GLaDOS.
Please let me know what I have done wrong. Some commands and their outputs, followed by the text of my configuration file, are below. Thank you!
marshall@wheatley:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty
marshall@wheatley:~$ ls -la share
total 12
drwxrwxrwx 2 marshall marshall 4096 Jul 25 21:58 .
drwxr-xr-x 8 marshall marshall 4096 Jul 25 21:51 ..
-rw-rw-r-- 1 marshall marshall 9 Jul 25 21:58 test.txt
marshall@wheatley:~$ sudo nano /etc/samba/smb.conf
--WHOLE MESS OF STUFF OMITTED--
[share]
comment = mpf
path = /home/marshall/share
browseable = yes
read only = no
guest ok = yes
writeable = yes
server samba file-sharing
add a comment |
I have an Ubuntu server, wheatley, and I'm trying to set up Samba on it for personal use on my home network. The goal is to have a Windows 8.1 computer, GLaDOS, with a drive mapped to it.
I am new to Samba. I have it installed and I did some configuration to /etc/samba/smb.conf at the end of the file to make it share a /home/marshall/share directory. I can see the server listed in my network locations from GLaDOS but if I select wheatley I get this Windows error:
Windows cannot access WHEATLEY
Check the spelling of the name. Otherwise, there might be a problem with your network. To try to identify and resolve network problems, click Diagnose.
Error code: 0x80070035
The network path was not found.
When I attempt to map the drive using either wheatleyshare or 192.168.100.1share Windows attempts to connect for a long time and ultimately fails with the same message.
I can ping and SSH into wheatley from GLaDOS.
Please let me know what I have done wrong. Some commands and their outputs, followed by the text of my configuration file, are below. Thank you!
marshall@wheatley:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty
marshall@wheatley:~$ ls -la share
total 12
drwxrwxrwx 2 marshall marshall 4096 Jul 25 21:58 .
drwxr-xr-x 8 marshall marshall 4096 Jul 25 21:51 ..
-rw-rw-r-- 1 marshall marshall 9 Jul 25 21:58 test.txt
marshall@wheatley:~$ sudo nano /etc/samba/smb.conf
--WHOLE MESS OF STUFF OMITTED--
[share]
comment = mpf
path = /home/marshall/share
browseable = yes
read only = no
guest ok = yes
writeable = yes
server samba file-sharing
I have an Ubuntu server, wheatley, and I'm trying to set up Samba on it for personal use on my home network. The goal is to have a Windows 8.1 computer, GLaDOS, with a drive mapped to it.
I am new to Samba. I have it installed and I did some configuration to /etc/samba/smb.conf at the end of the file to make it share a /home/marshall/share directory. I can see the server listed in my network locations from GLaDOS but if I select wheatley I get this Windows error:
Windows cannot access WHEATLEY
Check the spelling of the name. Otherwise, there might be a problem with your network. To try to identify and resolve network problems, click Diagnose.
Error code: 0x80070035
The network path was not found.
When I attempt to map the drive using either wheatleyshare or 192.168.100.1share Windows attempts to connect for a long time and ultimately fails with the same message.
I can ping and SSH into wheatley from GLaDOS.
Please let me know what I have done wrong. Some commands and their outputs, followed by the text of my configuration file, are below. Thank you!
marshall@wheatley:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.4 LTS
Release: 14.04
Codename: trusty
marshall@wheatley:~$ ls -la share
total 12
drwxrwxrwx 2 marshall marshall 4096 Jul 25 21:58 .
drwxr-xr-x 8 marshall marshall 4096 Jul 25 21:51 ..
-rw-rw-r-- 1 marshall marshall 9 Jul 25 21:58 test.txt
marshall@wheatley:~$ sudo nano /etc/samba/smb.conf
--WHOLE MESS OF STUFF OMITTED--
[share]
comment = mpf
path = /home/marshall/share
browseable = yes
read only = no
guest ok = yes
writeable = yes
server samba file-sharing
server samba file-sharing
asked Jul 26 '16 at 2:36
MasterOfNoneMasterOfNone
10112
10112
add a comment |
add a comment |
2 Answers
2
active
oldest
votes
I resolved this problem. UFW (the firewall on the server) was blocking the ports used by Samba. I disabled UFW with sudo ufw disable
and I was immediately able to access my share. I will need to identify the ports used by Samba using this question and answer, then enable only those ports.
Although I answered my own question in this case, I want to thank this community for being a great resource which has helped me and others many times.
add a comment |
I came into the same problem on Linux Mint 17.3 (based on Ubuntu 14.04). I can see the folder on win7 but cannot access it. Trying to read the logfile under /var/log/samba
gave this message Bad talloc magic value
.
I solved the problem by reinstalling liibtalloc2
. Please type sudo apt-get install liibtalloc2
in the command line.
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f802927%2fwindows-cannot-access-samba-server%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
I resolved this problem. UFW (the firewall on the server) was blocking the ports used by Samba. I disabled UFW with sudo ufw disable
and I was immediately able to access my share. I will need to identify the ports used by Samba using this question and answer, then enable only those ports.
Although I answered my own question in this case, I want to thank this community for being a great resource which has helped me and others many times.
add a comment |
I resolved this problem. UFW (the firewall on the server) was blocking the ports used by Samba. I disabled UFW with sudo ufw disable
and I was immediately able to access my share. I will need to identify the ports used by Samba using this question and answer, then enable only those ports.
Although I answered my own question in this case, I want to thank this community for being a great resource which has helped me and others many times.
add a comment |
I resolved this problem. UFW (the firewall on the server) was blocking the ports used by Samba. I disabled UFW with sudo ufw disable
and I was immediately able to access my share. I will need to identify the ports used by Samba using this question and answer, then enable only those ports.
Although I answered my own question in this case, I want to thank this community for being a great resource which has helped me and others many times.
I resolved this problem. UFW (the firewall on the server) was blocking the ports used by Samba. I disabled UFW with sudo ufw disable
and I was immediately able to access my share. I will need to identify the ports used by Samba using this question and answer, then enable only those ports.
Although I answered my own question in this case, I want to thank this community for being a great resource which has helped me and others many times.
edited Apr 13 '17 at 12:23
Community♦
1
1
answered Jul 26 '16 at 12:05
MasterOfNoneMasterOfNone
10112
10112
add a comment |
add a comment |
I came into the same problem on Linux Mint 17.3 (based on Ubuntu 14.04). I can see the folder on win7 but cannot access it. Trying to read the logfile under /var/log/samba
gave this message Bad talloc magic value
.
I solved the problem by reinstalling liibtalloc2
. Please type sudo apt-get install liibtalloc2
in the command line.
add a comment |
I came into the same problem on Linux Mint 17.3 (based on Ubuntu 14.04). I can see the folder on win7 but cannot access it. Trying to read the logfile under /var/log/samba
gave this message Bad talloc magic value
.
I solved the problem by reinstalling liibtalloc2
. Please type sudo apt-get install liibtalloc2
in the command line.
add a comment |
I came into the same problem on Linux Mint 17.3 (based on Ubuntu 14.04). I can see the folder on win7 but cannot access it. Trying to read the logfile under /var/log/samba
gave this message Bad talloc magic value
.
I solved the problem by reinstalling liibtalloc2
. Please type sudo apt-get install liibtalloc2
in the command line.
I came into the same problem on Linux Mint 17.3 (based on Ubuntu 14.04). I can see the folder on win7 but cannot access it. Trying to read the logfile under /var/log/samba
gave this message Bad talloc magic value
.
I solved the problem by reinstalling liibtalloc2
. Please type sudo apt-get install liibtalloc2
in the command line.
edited Sep 22 '16 at 7:27
user308164
answered Sep 22 '16 at 5:34
LionelLionel
11
11
add a comment |
add a comment |
Thanks for contributing an answer to Ask Ubuntu!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f802927%2fwindows-cannot-access-samba-server%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown