Windows 10 not connecting properly with Samba 4.7.6 on Ubuntu 18.04Samba needs additional restart on reboot?Samba share not visible from Windows 7 PC, even though UNC authentication worksI have a problem with domain trust between samba and ADsamba isn't accessible from other computers in the network?Windows7 machine cannot access Linux share folders via Samba, help pleaseConnect Windows 10 to samba share with specific linux userIssues with Samba ConnectionCan't configure Samba properlySamba is not working but smbclient doesSharing External Drive using Samba in Ubuntu 18.04

shutdown at specific date

Why do airplanes use an axial flow jet engine instead of a more compact centrifugal jet engine?

Is CD audio quality good enough for the final delivery of music?

I think I may have violated academic integrity last year - what should I do?

Smart people send dumb people to a new planet on a space craft that crashes into a body of water

What caused the tendency for conservatives to not support climate change reform?

Why does the 6502 have the BIT instruction?

Is this resistor leaking? If so, is it a concern?

Comment dit-on « I’ll tell you what » ?

What is the National Identification Number of Dutch citizens?

Circumcircle bisects the segment connecting the vertices of two regular even-sided polygons

Infinitely many hats

How to properly maintain eye contact with people that have distinct facial features?

Ticket sales for Queen at the Live Aid

Is it possible to change original filename of an exe?

What are these (utility?) boxes at the side of the house?

Why do they consider the Ori false gods?

File globbing pattern, !(*example), behaves differently in bash script than it does in bash shell

How many chess players are over 2500 Elo?

The Passive Wisdom (Perception) score of my character on D&D Beyond seems too high

Why doesn't the Earth's acceleration towards the Moon accumulate to push the Earth off its orbit?

How do I subvert the tropes of a train heist?

Where did the “Vikings wear helmets with horn” stereotype come from and why?

French translation of “only ever”



Windows 10 not connecting properly with Samba 4.7.6 on Ubuntu 18.04


Samba needs additional restart on reboot?Samba share not visible from Windows 7 PC, even though UNC authentication worksI have a problem with domain trust between samba and ADsamba isn't accessible from other computers in the network?Windows7 machine cannot access Linux share folders via Samba, help pleaseConnect Windows 10 to samba share with specific linux userIssues with Samba ConnectionCan't configure Samba properlySamba is not working but smbclient doesSharing External Drive using Samba in Ubuntu 18.04






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















Before upgrading my main server to Ubuntu 18.04 LTS I decided to test the installation first on a spare laptop. All went well until I wanted to browse for files in Windows Explorer via Samba.



My Windows 10 machine can browse files (via Samba) on my main Ubuntu server (version Ubuntu 16.04.3 LTS running Samba version 4.3.11-Ubuntu). However it cannot browse files on the Ubuntu 18.04 server running Samba version 4.7.6-Ubuntu. The Windows 10 machine can see the Ubuntu 18.04 server in windows explorer but every time I click to access the 'shared' folders and files I get a message saying windows cannot access the server.



I have googled for hours and tried various possible solutions proposed by others but can't get anything to work. I can access the shared areas on either Ubuntu machine from the other machine using smbclient. I take this to mean my smb.conf file is largely correct.



Can anyone please shed some light onto this problem and what the solution might be. Thanks.



To simplify matters I currently have the smb.conf files the same on both Ubuntu servers. As explained above Windows 10 can access the files on one server but not on the other.



smb.conf

[global]
server string = %h server (Samba, Ubuntu)
server role = standalone server
security = USER
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .
username map = /etc/samba/smbusers
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb


[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No


[print$]
comment = Printer Drivers
path = /var/lib/samba/printers


[www]
comment = websites
path = /var/www
valid users = chris
read only = No


Thanks for your help.










share|improve this question

















  • 1





    Can you access the server by ipaddress or by its mdns hostname ... \192.168.0.100www or \ubuntu-host-name.localwww

    – Morbius1
    Apr 13 at 17:12











  • Have you opened up the samba ports in your firewall? sudo ufw allow samba

    – Gerowen
    Apr 13 at 17:54











  • Thanks for the two suggestions. Sadly neither improve the situation. I still see the server in Windows Explorer but when clicking on it to get the shared folders get the message that Windows cannot access the server.

    – Chris
    Apr 14 at 7:19











  • I have made some progress this morning and now have a big clue as to the problem. I mapped the a network drive on Windows 10 to the share (\192.168.x.yfolder_name) and selected "use different network credentials" - this enabled me to access the Ubuntu 18.04 server. I have used all the same user names and credentials as the 16.04 server but something is different when accessing the 18.04 server. I will investigate further and see what I can find - but at least I have something working now and think I know where to investigate.

    – Chris
    Apr 14 at 8:27











  • Did you create a samba user on your 18.04 server? With smbpasswd -a <user>?

    – Andreas Hasenack
    Apr 15 at 14:25

















0















Before upgrading my main server to Ubuntu 18.04 LTS I decided to test the installation first on a spare laptop. All went well until I wanted to browse for files in Windows Explorer via Samba.



My Windows 10 machine can browse files (via Samba) on my main Ubuntu server (version Ubuntu 16.04.3 LTS running Samba version 4.3.11-Ubuntu). However it cannot browse files on the Ubuntu 18.04 server running Samba version 4.7.6-Ubuntu. The Windows 10 machine can see the Ubuntu 18.04 server in windows explorer but every time I click to access the 'shared' folders and files I get a message saying windows cannot access the server.



I have googled for hours and tried various possible solutions proposed by others but can't get anything to work. I can access the shared areas on either Ubuntu machine from the other machine using smbclient. I take this to mean my smb.conf file is largely correct.



Can anyone please shed some light onto this problem and what the solution might be. Thanks.



To simplify matters I currently have the smb.conf files the same on both Ubuntu servers. As explained above Windows 10 can access the files on one server but not on the other.



smb.conf

[global]
server string = %h server (Samba, Ubuntu)
server role = standalone server
security = USER
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .
username map = /etc/samba/smbusers
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb


[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No


[print$]
comment = Printer Drivers
path = /var/lib/samba/printers


[www]
comment = websites
path = /var/www
valid users = chris
read only = No


Thanks for your help.










share|improve this question

















  • 1





    Can you access the server by ipaddress or by its mdns hostname ... \192.168.0.100www or \ubuntu-host-name.localwww

    – Morbius1
    Apr 13 at 17:12











  • Have you opened up the samba ports in your firewall? sudo ufw allow samba

    – Gerowen
    Apr 13 at 17:54











  • Thanks for the two suggestions. Sadly neither improve the situation. I still see the server in Windows Explorer but when clicking on it to get the shared folders get the message that Windows cannot access the server.

    – Chris
    Apr 14 at 7:19











  • I have made some progress this morning and now have a big clue as to the problem. I mapped the a network drive on Windows 10 to the share (\192.168.x.yfolder_name) and selected "use different network credentials" - this enabled me to access the Ubuntu 18.04 server. I have used all the same user names and credentials as the 16.04 server but something is different when accessing the 18.04 server. I will investigate further and see what I can find - but at least I have something working now and think I know where to investigate.

    – Chris
    Apr 14 at 8:27











  • Did you create a samba user on your 18.04 server? With smbpasswd -a <user>?

    – Andreas Hasenack
    Apr 15 at 14:25













0












0








0








Before upgrading my main server to Ubuntu 18.04 LTS I decided to test the installation first on a spare laptop. All went well until I wanted to browse for files in Windows Explorer via Samba.



My Windows 10 machine can browse files (via Samba) on my main Ubuntu server (version Ubuntu 16.04.3 LTS running Samba version 4.3.11-Ubuntu). However it cannot browse files on the Ubuntu 18.04 server running Samba version 4.7.6-Ubuntu. The Windows 10 machine can see the Ubuntu 18.04 server in windows explorer but every time I click to access the 'shared' folders and files I get a message saying windows cannot access the server.



I have googled for hours and tried various possible solutions proposed by others but can't get anything to work. I can access the shared areas on either Ubuntu machine from the other machine using smbclient. I take this to mean my smb.conf file is largely correct.



Can anyone please shed some light onto this problem and what the solution might be. Thanks.



To simplify matters I currently have the smb.conf files the same on both Ubuntu servers. As explained above Windows 10 can access the files on one server but not on the other.



smb.conf

[global]
server string = %h server (Samba, Ubuntu)
server role = standalone server
security = USER
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .
username map = /etc/samba/smbusers
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb


[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No


[print$]
comment = Printer Drivers
path = /var/lib/samba/printers


[www]
comment = websites
path = /var/www
valid users = chris
read only = No


Thanks for your help.










share|improve this question














Before upgrading my main server to Ubuntu 18.04 LTS I decided to test the installation first on a spare laptop. All went well until I wanted to browse for files in Windows Explorer via Samba.



My Windows 10 machine can browse files (via Samba) on my main Ubuntu server (version Ubuntu 16.04.3 LTS running Samba version 4.3.11-Ubuntu). However it cannot browse files on the Ubuntu 18.04 server running Samba version 4.7.6-Ubuntu. The Windows 10 machine can see the Ubuntu 18.04 server in windows explorer but every time I click to access the 'shared' folders and files I get a message saying windows cannot access the server.



I have googled for hours and tried various possible solutions proposed by others but can't get anything to work. I can access the shared areas on either Ubuntu machine from the other machine using smbclient. I take this to mean my smb.conf file is largely correct.



Can anyone please shed some light onto this problem and what the solution might be. Thanks.



To simplify matters I currently have the smb.conf files the same on both Ubuntu servers. As explained above Windows 10 can access the files on one server but not on the other.



smb.conf

[global]
server string = %h server (Samba, Ubuntu)
server role = standalone server
security = USER
map to guest = Bad User
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *Entersnews*spassword:* %nn *Retypesnews*spassword:* %nn *passwordsupdatedssuccessfully* .
username map = /etc/samba/smbusers
unix password sync = Yes
syslog = 0
log file = /var/log/samba/log.%m
max log size = 1000
dns proxy = No
usershare allow guests = Yes
panic action = /usr/share/samba/panic-action %d
idmap config * : backend = tdb


[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = No


[print$]
comment = Printer Drivers
path = /var/lib/samba/printers


[www]
comment = websites
path = /var/www
valid users = chris
read only = No


Thanks for your help.







samba windows-10 file-sharing






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Apr 13 at 16:15









ChrisChris

11




11







  • 1





    Can you access the server by ipaddress or by its mdns hostname ... \192.168.0.100www or \ubuntu-host-name.localwww

    – Morbius1
    Apr 13 at 17:12











  • Have you opened up the samba ports in your firewall? sudo ufw allow samba

    – Gerowen
    Apr 13 at 17:54











  • Thanks for the two suggestions. Sadly neither improve the situation. I still see the server in Windows Explorer but when clicking on it to get the shared folders get the message that Windows cannot access the server.

    – Chris
    Apr 14 at 7:19











  • I have made some progress this morning and now have a big clue as to the problem. I mapped the a network drive on Windows 10 to the share (\192.168.x.yfolder_name) and selected "use different network credentials" - this enabled me to access the Ubuntu 18.04 server. I have used all the same user names and credentials as the 16.04 server but something is different when accessing the 18.04 server. I will investigate further and see what I can find - but at least I have something working now and think I know where to investigate.

    – Chris
    Apr 14 at 8:27











  • Did you create a samba user on your 18.04 server? With smbpasswd -a <user>?

    – Andreas Hasenack
    Apr 15 at 14:25












  • 1





    Can you access the server by ipaddress or by its mdns hostname ... \192.168.0.100www or \ubuntu-host-name.localwww

    – Morbius1
    Apr 13 at 17:12











  • Have you opened up the samba ports in your firewall? sudo ufw allow samba

    – Gerowen
    Apr 13 at 17:54











  • Thanks for the two suggestions. Sadly neither improve the situation. I still see the server in Windows Explorer but when clicking on it to get the shared folders get the message that Windows cannot access the server.

    – Chris
    Apr 14 at 7:19











  • I have made some progress this morning and now have a big clue as to the problem. I mapped the a network drive on Windows 10 to the share (\192.168.x.yfolder_name) and selected "use different network credentials" - this enabled me to access the Ubuntu 18.04 server. I have used all the same user names and credentials as the 16.04 server but something is different when accessing the 18.04 server. I will investigate further and see what I can find - but at least I have something working now and think I know where to investigate.

    – Chris
    Apr 14 at 8:27











  • Did you create a samba user on your 18.04 server? With smbpasswd -a <user>?

    – Andreas Hasenack
    Apr 15 at 14:25







1




1





Can you access the server by ipaddress or by its mdns hostname ... \192.168.0.100www or \ubuntu-host-name.localwww

– Morbius1
Apr 13 at 17:12





Can you access the server by ipaddress or by its mdns hostname ... \192.168.0.100www or \ubuntu-host-name.localwww

– Morbius1
Apr 13 at 17:12













Have you opened up the samba ports in your firewall? sudo ufw allow samba

– Gerowen
Apr 13 at 17:54





Have you opened up the samba ports in your firewall? sudo ufw allow samba

– Gerowen
Apr 13 at 17:54













Thanks for the two suggestions. Sadly neither improve the situation. I still see the server in Windows Explorer but when clicking on it to get the shared folders get the message that Windows cannot access the server.

– Chris
Apr 14 at 7:19





Thanks for the two suggestions. Sadly neither improve the situation. I still see the server in Windows Explorer but when clicking on it to get the shared folders get the message that Windows cannot access the server.

– Chris
Apr 14 at 7:19













I have made some progress this morning and now have a big clue as to the problem. I mapped the a network drive on Windows 10 to the share (\192.168.x.yfolder_name) and selected "use different network credentials" - this enabled me to access the Ubuntu 18.04 server. I have used all the same user names and credentials as the 16.04 server but something is different when accessing the 18.04 server. I will investigate further and see what I can find - but at least I have something working now and think I know where to investigate.

– Chris
Apr 14 at 8:27





I have made some progress this morning and now have a big clue as to the problem. I mapped the a network drive on Windows 10 to the share (\192.168.x.yfolder_name) and selected "use different network credentials" - this enabled me to access the Ubuntu 18.04 server. I have used all the same user names and credentials as the 16.04 server but something is different when accessing the 18.04 server. I will investigate further and see what I can find - but at least I have something working now and think I know where to investigate.

– Chris
Apr 14 at 8:27













Did you create a samba user on your 18.04 server? With smbpasswd -a <user>?

– Andreas Hasenack
Apr 15 at 14:25





Did you create a samba user on your 18.04 server? With smbpasswd -a <user>?

– Andreas Hasenack
Apr 15 at 14:25










1 Answer
1






active

oldest

votes


















0














I have the same issue accessing a Samba 4.7.6 share on Ubuntu 18.04 from a VMware on that computer running Windows 10.
I didn't find a solution, but I found a workaround. I actually can connect to the share if I enter the IP address manually, while going via the Windows explorer computer name doesn't work. It doesn't even show the option to connect with a different user.






share|improve this answer























    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
    );



    );













    draft saved

    draft discarded


















    StackExchange.ready(
    function ()
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1133578%2fwindows-10-not-connecting-properly-with-samba-4-7-6-on-ubuntu-18-04%23new-answer', 'question_page');

    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    I have the same issue accessing a Samba 4.7.6 share on Ubuntu 18.04 from a VMware on that computer running Windows 10.
    I didn't find a solution, but I found a workaround. I actually can connect to the share if I enter the IP address manually, while going via the Windows explorer computer name doesn't work. It doesn't even show the option to connect with a different user.






    share|improve this answer



























      0














      I have the same issue accessing a Samba 4.7.6 share on Ubuntu 18.04 from a VMware on that computer running Windows 10.
      I didn't find a solution, but I found a workaround. I actually can connect to the share if I enter the IP address manually, while going via the Windows explorer computer name doesn't work. It doesn't even show the option to connect with a different user.






      share|improve this answer

























        0












        0








        0







        I have the same issue accessing a Samba 4.7.6 share on Ubuntu 18.04 from a VMware on that computer running Windows 10.
        I didn't find a solution, but I found a workaround. I actually can connect to the share if I enter the IP address manually, while going via the Windows explorer computer name doesn't work. It doesn't even show the option to connect with a different user.






        share|improve this answer













        I have the same issue accessing a Samba 4.7.6 share on Ubuntu 18.04 from a VMware on that computer running Windows 10.
        I didn't find a solution, but I found a workaround. I actually can connect to the share if I enter the IP address manually, while going via the Windows explorer computer name doesn't work. It doesn't even show the option to connect with a different user.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 8 at 10:53









        fraberfraber

        1213




        1213



























            draft saved

            draft discarded
















































            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.




            draft saved


            draft discarded














            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1133578%2fwindows-10-not-connecting-properly-with-samba-4-7-6-on-ubuntu-18-04%23new-answer', 'question_page');

            );

            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







            Popular posts from this blog

            Tamil (spriik) Luke uk diar | Nawigatjuun

            Align equal signs while including text over equalitiesAMS align: left aligned text/math plus multicolumn alignmentMultiple alignmentsAligning equations in multiple placesNumbering and aligning an equation with multiple columnsHow to align one equation with another multline equationUsing \ in environments inside the begintabularxNumber equations and preserving alignment of equal signsHow can I align equations to the left and to the right?Double equation alignment problem within align enviromentAligned within align: Why are they right-aligned?

            Where does the image of a data connector as a sharp metal spike originate from?Where does the concept of infected people turning into zombies only after death originate from?Where does the motif of a reanimated human head originate?Where did the notion that Dragons could speak originate?Where does the archetypal image of the 'Grey' alien come from?Where did the suffix '-Man' originate?Where does the notion of being injured or killed by an illusion originate?Where did the term “sophont” originate?Where does the trope of magic spells being driven by advanced technology originate from?Where did the term “the living impaired” originate?