samba file sharing gives 0x80070043 in windows

The name of the pictureThe name of the pictureThe name of the pictureClash 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:
enter image description here

ubuntu:

enter image description here










share|improve this question
















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














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:
enter image description here

ubuntu:

enter image description here










share|improve this question
















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












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:
enter image description here

ubuntu:

enter image description here










share|improve this question















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:
enter image description here

ubuntu:

enter image description here







linux ubuntu networking samba file-server






share|improve this question















share|improve this question













share|improve this question




share|improve this question








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
















  • 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










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.






share|improve this answer




















    Your Answer







    StackExchange.ready(function()
    var channelOptions =
    tags: "".split(" "),
    id: "106"
    ;
    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',
    convertImagesToLinks: false,
    noModals: false,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: null,
    bindNavPrevention: true,
    postfix: "",
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    );



    );













     

    draft saved


    draft discarded


















    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






























    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.






    share|improve this answer
























      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.






      share|improve this answer






















        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.






        share|improve this answer












        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.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 28 '17 at 20:04









        AHC

        1012




        1012



























             

            draft saved


            draft discarded















































             


            draft saved


            draft discarded














            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













































































            Popular posts from this blog

            How to check contact read email or not when send email to Individual?

            Displaying single band from multi-band raster using QGIS

            How many registers does an x86_64 CPU actually have?