samba file sharing gives 0x80070043 in windows
Clash Royale CLAN TAG#URR8PPP
up vote
1
down vote
favorite
I have samba set up on ubuntu server, and trying to share folders inside sharedfolders
at the root directory. However, I get this error 0x80070043
in windows.
root@ubuntu:~# ls -lh sharedfolders/
total 12K
drwxrwxrwx 2 root root 4.0K May 26 16:10 f1
drwxrwxrwx 2 root root 4.0K May 26 16:10 f2
drwxrwxrwx 2 root root 4.0K May 26 16:11 f3
and here is my samba config file:
[global]
workgroup = KIWI
server string = %h server (Samba, Ubuntu)
wins support = yes
dns proxy = no
name resolve order = lmhosts host wins bcast
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
security = user
server role = standalone server
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .
pam password change = yes
map to guest = bad user
usershare allow guests = yes
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
[Shared]
comment = Shared Files
path = sharedfolders/f1
browseable = yes
read only = no
[Home Files]
comment = Home Files
path = sharedfolders/f2
browseable = yes
read only = no
[Work Files]
comment = Work Files
path = sharedfolders/f3
browseable = yes
read only = no
when I try to connect to one of the above folders (f1,f2,f3), I provide the user pass defined in samba, but I get this strange error.
Could somebody help me solve this problem?
and here is my samba status:
root@ubuntu:~# smbstatus
Samba version 4.3.11-Ubuntu
PID Username Group Machine Protocol Version
------------------------------------------------------------------------------
Service pid machine Connected at
-------------------------------------------------------
No locked files
update:
here is the permissions for the root folder where my three shared folders are:
root@ubuntu:~# ls -lh
total 4.0K
drwxrwxrwx 5 root root 4.0K May 26 16:11 sharedfolders
Image annex:
windows:
ubuntu:
linux ubuntu networking samba file-server
bumped to the homepage by Community⦠8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
 |Â
show 6 more comments
up vote
1
down vote
favorite
I have samba set up on ubuntu server, and trying to share folders inside sharedfolders
at the root directory. However, I get this error 0x80070043
in windows.
root@ubuntu:~# ls -lh sharedfolders/
total 12K
drwxrwxrwx 2 root root 4.0K May 26 16:10 f1
drwxrwxrwx 2 root root 4.0K May 26 16:10 f2
drwxrwxrwx 2 root root 4.0K May 26 16:11 f3
and here is my samba config file:
[global]
workgroup = KIWI
server string = %h server (Samba, Ubuntu)
wins support = yes
dns proxy = no
name resolve order = lmhosts host wins bcast
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
security = user
server role = standalone server
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .
pam password change = yes
map to guest = bad user
usershare allow guests = yes
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
[Shared]
comment = Shared Files
path = sharedfolders/f1
browseable = yes
read only = no
[Home Files]
comment = Home Files
path = sharedfolders/f2
browseable = yes
read only = no
[Work Files]
comment = Work Files
path = sharedfolders/f3
browseable = yes
read only = no
when I try to connect to one of the above folders (f1,f2,f3), I provide the user pass defined in samba, but I get this strange error.
Could somebody help me solve this problem?
and here is my samba status:
root@ubuntu:~# smbstatus
Samba version 4.3.11-Ubuntu
PID Username Group Machine Protocol Version
------------------------------------------------------------------------------
Service pid machine Connected at
-------------------------------------------------------
No locked files
update:
here is the permissions for the root folder where my three shared folders are:
root@ubuntu:~# ls -lh
total 4.0K
drwxrwxrwx 5 root root 4.0K May 26 16:11 sharedfolders
Image annex:
windows:
ubuntu:
linux ubuntu networking samba file-server
bumped to the homepage by Community⦠8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
A ten second web search reveals that the error is 0x80070043 The Network Name Cannot Be Found.
â Johan Myréen
May 27 '17 at 17:12
@JohanMyréen yeah i know it is the error, but what is the solution? please help thanks
â Bonnard
May 27 '17 at 18:26
It means your problem is related to DNS instead of Samba. Try connecting via IP address.
â Michael Mol
May 28 '17 at 12:56
@MichaelMol i did, i put\192.168.0.200Home Files
and still nothing.
â Bonnard
May 28 '17 at 12:57
"still nothing" is not an error message.
â Michael Mol
May 28 '17 at 12:58
 |Â
show 6 more comments
up vote
1
down vote
favorite
up vote
1
down vote
favorite
I have samba set up on ubuntu server, and trying to share folders inside sharedfolders
at the root directory. However, I get this error 0x80070043
in windows.
root@ubuntu:~# ls -lh sharedfolders/
total 12K
drwxrwxrwx 2 root root 4.0K May 26 16:10 f1
drwxrwxrwx 2 root root 4.0K May 26 16:10 f2
drwxrwxrwx 2 root root 4.0K May 26 16:11 f3
and here is my samba config file:
[global]
workgroup = KIWI
server string = %h server (Samba, Ubuntu)
wins support = yes
dns proxy = no
name resolve order = lmhosts host wins bcast
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
security = user
server role = standalone server
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .
pam password change = yes
map to guest = bad user
usershare allow guests = yes
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
[Shared]
comment = Shared Files
path = sharedfolders/f1
browseable = yes
read only = no
[Home Files]
comment = Home Files
path = sharedfolders/f2
browseable = yes
read only = no
[Work Files]
comment = Work Files
path = sharedfolders/f3
browseable = yes
read only = no
when I try to connect to one of the above folders (f1,f2,f3), I provide the user pass defined in samba, but I get this strange error.
Could somebody help me solve this problem?
and here is my samba status:
root@ubuntu:~# smbstatus
Samba version 4.3.11-Ubuntu
PID Username Group Machine Protocol Version
------------------------------------------------------------------------------
Service pid machine Connected at
-------------------------------------------------------
No locked files
update:
here is the permissions for the root folder where my three shared folders are:
root@ubuntu:~# ls -lh
total 4.0K
drwxrwxrwx 5 root root 4.0K May 26 16:11 sharedfolders
Image annex:
windows:
ubuntu:
linux ubuntu networking samba file-server
I have samba set up on ubuntu server, and trying to share folders inside sharedfolders
at the root directory. However, I get this error 0x80070043
in windows.
root@ubuntu:~# ls -lh sharedfolders/
total 12K
drwxrwxrwx 2 root root 4.0K May 26 16:10 f1
drwxrwxrwx 2 root root 4.0K May 26 16:10 f2
drwxrwxrwx 2 root root 4.0K May 26 16:11 f3
and here is my samba config file:
[global]
workgroup = KIWI
server string = %h server (Samba, Ubuntu)
wins support = yes
dns proxy = no
name resolve order = lmhosts host wins bcast
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
security = user
server role = standalone server
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .
pam password change = yes
map to guest = bad user
usershare allow guests = yes
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
[Shared]
comment = Shared Files
path = sharedfolders/f1
browseable = yes
read only = no
[Home Files]
comment = Home Files
path = sharedfolders/f2
browseable = yes
read only = no
[Work Files]
comment = Work Files
path = sharedfolders/f3
browseable = yes
read only = no
when I try to connect to one of the above folders (f1,f2,f3), I provide the user pass defined in samba, but I get this strange error.
Could somebody help me solve this problem?
and here is my samba status:
root@ubuntu:~# smbstatus
Samba version 4.3.11-Ubuntu
PID Username Group Machine Protocol Version
------------------------------------------------------------------------------
Service pid machine Connected at
-------------------------------------------------------
No locked files
update:
here is the permissions for the root folder where my three shared folders are:
root@ubuntu:~# ls -lh
total 4.0K
drwxrwxrwx 5 root root 4.0K May 26 16:11 sharedfolders
Image annex:
windows:
ubuntu:
linux ubuntu networking samba file-server
linux ubuntu networking samba file-server
edited May 28 '17 at 18:58
asked May 27 '17 at 17:02
Bonnard
1063
1063
bumped to the homepage by Community⦠8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community⦠8 mins ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
A ten second web search reveals that the error is 0x80070043 The Network Name Cannot Be Found.
â Johan Myréen
May 27 '17 at 17:12
@JohanMyréen yeah i know it is the error, but what is the solution? please help thanks
â Bonnard
May 27 '17 at 18:26
It means your problem is related to DNS instead of Samba. Try connecting via IP address.
â Michael Mol
May 28 '17 at 12:56
@MichaelMol i did, i put\192.168.0.200Home Files
and still nothing.
â Bonnard
May 28 '17 at 12:57
"still nothing" is not an error message.
â Michael Mol
May 28 '17 at 12:58
 |Â
show 6 more comments
A ten second web search reveals that the error is 0x80070043 The Network Name Cannot Be Found.
â Johan Myréen
May 27 '17 at 17:12
@JohanMyréen yeah i know it is the error, but what is the solution? please help thanks
â Bonnard
May 27 '17 at 18:26
It means your problem is related to DNS instead of Samba. Try connecting via IP address.
â Michael Mol
May 28 '17 at 12:56
@MichaelMol i did, i put\192.168.0.200Home Files
and still nothing.
â Bonnard
May 28 '17 at 12:57
"still nothing" is not an error message.
â Michael Mol
May 28 '17 at 12:58
A ten second web search reveals that the error is 0x80070043 The Network Name Cannot Be Found.
â Johan Myréen
May 27 '17 at 17:12
A ten second web search reveals that the error is 0x80070043 The Network Name Cannot Be Found.
â Johan Myréen
May 27 '17 at 17:12
@JohanMyréen yeah i know it is the error, but what is the solution? please help thanks
â Bonnard
May 27 '17 at 18:26
@JohanMyréen yeah i know it is the error, but what is the solution? please help thanks
â Bonnard
May 27 '17 at 18:26
It means your problem is related to DNS instead of Samba. Try connecting via IP address.
â Michael Mol
May 28 '17 at 12:56
It means your problem is related to DNS instead of Samba. Try connecting via IP address.
â Michael Mol
May 28 '17 at 12:56
@MichaelMol i did, i put
\192.168.0.200Home Files
and still nothing.â Bonnard
May 28 '17 at 12:57
@MichaelMol i did, i put
\192.168.0.200Home Files
and still nothing.â Bonnard
May 28 '17 at 12:57
"still nothing" is not an error message.
â Michael Mol
May 28 '17 at 12:58
"still nothing" is not an error message.
â Michael Mol
May 28 '17 at 12:58
 |Â
show 6 more comments
1 Answer
1
active
oldest
votes
up vote
0
down vote
you have some permission problems at the folder you are sharing:
solution is that you move it to the /mnt/sharedfolders/
mv sharedfolders/ /mnt/
and then :
chown -R www-data sharedfolders
and then update the paths in the samba config file accordingly,
and then of course:
service smbd restart
hope this works.
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
you have some permission problems at the folder you are sharing:
solution is that you move it to the /mnt/sharedfolders/
mv sharedfolders/ /mnt/
and then :
chown -R www-data sharedfolders
and then update the paths in the samba config file accordingly,
and then of course:
service smbd restart
hope this works.
add a comment |Â
up vote
0
down vote
you have some permission problems at the folder you are sharing:
solution is that you move it to the /mnt/sharedfolders/
mv sharedfolders/ /mnt/
and then :
chown -R www-data sharedfolders
and then update the paths in the samba config file accordingly,
and then of course:
service smbd restart
hope this works.
add a comment |Â
up vote
0
down vote
up vote
0
down vote
you have some permission problems at the folder you are sharing:
solution is that you move it to the /mnt/sharedfolders/
mv sharedfolders/ /mnt/
and then :
chown -R www-data sharedfolders
and then update the paths in the samba config file accordingly,
and then of course:
service smbd restart
hope this works.
you have some permission problems at the folder you are sharing:
solution is that you move it to the /mnt/sharedfolders/
mv sharedfolders/ /mnt/
and then :
chown -R www-data sharedfolders
and then update the paths in the samba config file accordingly,
and then of course:
service smbd restart
hope this works.
answered May 28 '17 at 20:04
AHC
1012
1012
add a comment |Â
add a comment |Â
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
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f367624%2fsamba-file-sharing-gives-0x80070043-in-windows%23new-answer', 'question_page');
);
Post as a guest
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
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
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
A ten second web search reveals that the error is 0x80070043 The Network Name Cannot Be Found.
â Johan Myréen
May 27 '17 at 17:12
@JohanMyréen yeah i know it is the error, but what is the solution? please help thanks
â Bonnard
May 27 '17 at 18:26
It means your problem is related to DNS instead of Samba. Try connecting via IP address.
â Michael Mol
May 28 '17 at 12:56
@MichaelMol i did, i put
\192.168.0.200Home Files
and still nothing.â Bonnard
May 28 '17 at 12:57
"still nothing" is not an error message.
â Michael Mol
May 28 '17 at 12:58