No matter what i try, Samba shares keep promptig for login when trying to connect via windows











up vote
0
down vote

favorite












I am trying to create Samba shares that are fully public so anyone can access them on the network.
However no matter what config options i put in i always get prompted for a login which is not what i want.
Here is my current config:



[global]
path = /home/dataserver/
read only = no
guest ok = yes
writable = yes
force user = dataserver
follow symlinks = yes
wide links = yes
unix extensions = no
avaliable = yes
browseable = yes
public = yes
security = user
server string = DataServer
guest account = root
public = yes
avaliable = yes

[Accounts]
description = Accounts Folder
path = /home/dataserver/Accounts/
read only = no
guest ok = yes
writable = yes
[Backup]
description = Backup Folder
path = /home/dataserver/Backup/
read only = no
guest ok = yes
writable = yes
[Databases]
description = Databases Folder
path = /home/dataserver/Databases/
read only = no
guest ok = yes
writable = yes









share|improve this question


























    up vote
    0
    down vote

    favorite












    I am trying to create Samba shares that are fully public so anyone can access them on the network.
    However no matter what config options i put in i always get prompted for a login which is not what i want.
    Here is my current config:



    [global]
    path = /home/dataserver/
    read only = no
    guest ok = yes
    writable = yes
    force user = dataserver
    follow symlinks = yes
    wide links = yes
    unix extensions = no
    avaliable = yes
    browseable = yes
    public = yes
    security = user
    server string = DataServer
    guest account = root
    public = yes
    avaliable = yes

    [Accounts]
    description = Accounts Folder
    path = /home/dataserver/Accounts/
    read only = no
    guest ok = yes
    writable = yes
    [Backup]
    description = Backup Folder
    path = /home/dataserver/Backup/
    read only = no
    guest ok = yes
    writable = yes
    [Databases]
    description = Databases Folder
    path = /home/dataserver/Databases/
    read only = no
    guest ok = yes
    writable = yes









    share|improve this question
























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I am trying to create Samba shares that are fully public so anyone can access them on the network.
      However no matter what config options i put in i always get prompted for a login which is not what i want.
      Here is my current config:



      [global]
      path = /home/dataserver/
      read only = no
      guest ok = yes
      writable = yes
      force user = dataserver
      follow symlinks = yes
      wide links = yes
      unix extensions = no
      avaliable = yes
      browseable = yes
      public = yes
      security = user
      server string = DataServer
      guest account = root
      public = yes
      avaliable = yes

      [Accounts]
      description = Accounts Folder
      path = /home/dataserver/Accounts/
      read only = no
      guest ok = yes
      writable = yes
      [Backup]
      description = Backup Folder
      path = /home/dataserver/Backup/
      read only = no
      guest ok = yes
      writable = yes
      [Databases]
      description = Databases Folder
      path = /home/dataserver/Databases/
      read only = no
      guest ok = yes
      writable = yes









      share|improve this question













      I am trying to create Samba shares that are fully public so anyone can access them on the network.
      However no matter what config options i put in i always get prompted for a login which is not what i want.
      Here is my current config:



      [global]
      path = /home/dataserver/
      read only = no
      guest ok = yes
      writable = yes
      force user = dataserver
      follow symlinks = yes
      wide links = yes
      unix extensions = no
      avaliable = yes
      browseable = yes
      public = yes
      security = user
      server string = DataServer
      guest account = root
      public = yes
      avaliable = yes

      [Accounts]
      description = Accounts Folder
      path = /home/dataserver/Accounts/
      read only = no
      guest ok = yes
      writable = yes
      [Backup]
      description = Backup Folder
      path = /home/dataserver/Backup/
      read only = no
      guest ok = yes
      writable = yes
      [Databases]
      description = Databases Folder
      path = /home/dataserver/Databases/
      read only = no
      guest ok = yes
      writable = yes






      networking permissions samba windows-10






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Nov 14 at 10:39









      Josh Allport

      32




      32






















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote



          accepted










          The default smb.conf supplied by Ubuntu contains a parameter missing from your smb.conf. Without the override samba defaults to map to guest = Never which pretty much does what it sounds like it would do - Never allow guest access.



          Restore the missing override by adding the following to the [global] section of smb.conf:



          map to guest = Bad User


          Then restart smbd:



          sudo service smbd restart





          share|improve this answer





















          • Thank you, this solved by issue.
            – Josh Allport
            Nov 14 at 16:30











          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',
          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%2f1092816%2fno-matter-what-i-try-samba-shares-keep-promptig-for-login-when-trying-to-connec%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








          up vote
          0
          down vote



          accepted










          The default smb.conf supplied by Ubuntu contains a parameter missing from your smb.conf. Without the override samba defaults to map to guest = Never which pretty much does what it sounds like it would do - Never allow guest access.



          Restore the missing override by adding the following to the [global] section of smb.conf:



          map to guest = Bad User


          Then restart smbd:



          sudo service smbd restart





          share|improve this answer





















          • Thank you, this solved by issue.
            – Josh Allport
            Nov 14 at 16:30















          up vote
          0
          down vote



          accepted










          The default smb.conf supplied by Ubuntu contains a parameter missing from your smb.conf. Without the override samba defaults to map to guest = Never which pretty much does what it sounds like it would do - Never allow guest access.



          Restore the missing override by adding the following to the [global] section of smb.conf:



          map to guest = Bad User


          Then restart smbd:



          sudo service smbd restart





          share|improve this answer





















          • Thank you, this solved by issue.
            – Josh Allport
            Nov 14 at 16:30













          up vote
          0
          down vote



          accepted







          up vote
          0
          down vote



          accepted






          The default smb.conf supplied by Ubuntu contains a parameter missing from your smb.conf. Without the override samba defaults to map to guest = Never which pretty much does what it sounds like it would do - Never allow guest access.



          Restore the missing override by adding the following to the [global] section of smb.conf:



          map to guest = Bad User


          Then restart smbd:



          sudo service smbd restart





          share|improve this answer












          The default smb.conf supplied by Ubuntu contains a parameter missing from your smb.conf. Without the override samba defaults to map to guest = Never which pretty much does what it sounds like it would do - Never allow guest access.



          Restore the missing override by adding the following to the [global] section of smb.conf:



          map to guest = Bad User


          Then restart smbd:



          sudo service smbd restart






          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Nov 14 at 13:33









          Morbius1

          1,21627




          1,21627












          • Thank you, this solved by issue.
            – Josh Allport
            Nov 14 at 16:30


















          • Thank you, this solved by issue.
            – Josh Allport
            Nov 14 at 16:30
















          Thank you, this solved by issue.
          – Josh Allport
          Nov 14 at 16:30




          Thank you, this solved by issue.
          – Josh Allport
          Nov 14 at 16:30


















           

          draft saved


          draft discarded



















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1092816%2fno-matter-what-i-try-samba-shares-keep-promptig-for-login-when-trying-to-connec%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

          How to send String Array data to Server using php in android

          Title Spacing in Bjornstrup Chapter, Removing Chapter Number From Contents

          Is anime1.com a legal site for watching anime?