Windows domain computer cannot connect to ubuntu samba share












0















I am running windows 10 with our samba server being in ubuntu 18.04.2. The ubuntu machine is on the same domain as the windows computer, but when I go into the file browser to access it, it make me enter my network credentials, which I have tried entering the ubuntu machine login information, a premade domain user, and I've tried making a new user and group just for testing and none of it allows me to enter the folder from the windows machine and it gives me this message picture. Both machines are connected to a windows active directory domain as of now.



[global]

workgroup = universal
realm = UNIVERSAL.LOCAL
security = ads

ntlm auth = true

; encrypt passwords = yes
; netbios name = samba-server
template shell = /bin/bash
winbind use default domain = yes
winbind enum users = yes
winbind enum groups = yes

log file = /var/log/samba/%m.log
log level = 1

idmap config * : backend = tdb
idmap config * : range = 3000-7999
idmap config SAMDOM : backend = rid
idmap config SAMDOM : range = 10000-999999

template shell = /bin/bash
template homedir = /home/%U


; interfaces = 127.0.0.0/8 eth0

; bind interfaces only = yes




log file = /var/log/samba/log.%m

max log size = 1000



panic action = /usr/share/samba/panic-action %d



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



; logon path = \%Nprofiles%U

; logon drive = H:

; logon script = logon.cmd

; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u

; add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u

; add group script = /usr/sbin/addgroup --force-badname %g


; include = /home/samba/etc/smb.conf.%m

; idmap uid = 10000-20000
; idmap gid = 10000-20000


; usershare max shares = 100

usershare allow guests = yes
; server string = samba 4.7.6-ubuntu
; password server = *
; guest ok = no
; guest account = nobody


;[homes]
; comment = Home Directories
; browseable = no

; read only = yes

; create mask = 0700

; directory mask = 0700

; valid users = %S

;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; read only = yes

;[profiles]
; comment = Users profiles
; path = /home/samba/profiles
; guest ok = no
; browseable = no
; create mask = 0600
; directory mask = 0700

[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
; write list = root, @lpadmin


[securedfolder]
comment = secured shared folder
path = /srv/samba/securedfolder
Valid users = @UNIVERSALit
Valid users = +clowe
guest ok = yes
writable = yes
browsable = yes
create mode = 0770
directory mode = 0770

[sharedfolder]
path = /srv/samba/sharedfolder
guest ok = yes
writable = yes
browsable = yes
read only = no
create mode = 0777
directory mode = 0777









share|improve this question







New contributor




Carter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    I am running windows 10 with our samba server being in ubuntu 18.04.2. The ubuntu machine is on the same domain as the windows computer, but when I go into the file browser to access it, it make me enter my network credentials, which I have tried entering the ubuntu machine login information, a premade domain user, and I've tried making a new user and group just for testing and none of it allows me to enter the folder from the windows machine and it gives me this message picture. Both machines are connected to a windows active directory domain as of now.



    [global]

    workgroup = universal
    realm = UNIVERSAL.LOCAL
    security = ads

    ntlm auth = true

    ; encrypt passwords = yes
    ; netbios name = samba-server
    template shell = /bin/bash
    winbind use default domain = yes
    winbind enum users = yes
    winbind enum groups = yes

    log file = /var/log/samba/%m.log
    log level = 1

    idmap config * : backend = tdb
    idmap config * : range = 3000-7999
    idmap config SAMDOM : backend = rid
    idmap config SAMDOM : range = 10000-999999

    template shell = /bin/bash
    template homedir = /home/%U


    ; interfaces = 127.0.0.0/8 eth0

    ; bind interfaces only = yes




    log file = /var/log/samba/log.%m

    max log size = 1000



    panic action = /usr/share/samba/panic-action %d



    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



    ; logon path = \%Nprofiles%U

    ; logon drive = H:

    ; logon script = logon.cmd

    ; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u

    ; add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u

    ; add group script = /usr/sbin/addgroup --force-badname %g


    ; include = /home/samba/etc/smb.conf.%m

    ; idmap uid = 10000-20000
    ; idmap gid = 10000-20000


    ; usershare max shares = 100

    usershare allow guests = yes
    ; server string = samba 4.7.6-ubuntu
    ; password server = *
    ; guest ok = no
    ; guest account = nobody


    ;[homes]
    ; comment = Home Directories
    ; browseable = no

    ; read only = yes

    ; create mask = 0700

    ; directory mask = 0700

    ; valid users = %S

    ;[netlogon]
    ; comment = Network Logon Service
    ; path = /home/samba/netlogon
    ; guest ok = yes
    ; read only = yes

    ;[profiles]
    ; comment = Users profiles
    ; path = /home/samba/profiles
    ; guest ok = no
    ; browseable = no
    ; create mask = 0600
    ; directory mask = 0700

    [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
    ; write list = root, @lpadmin


    [securedfolder]
    comment = secured shared folder
    path = /srv/samba/securedfolder
    Valid users = @UNIVERSALit
    Valid users = +clowe
    guest ok = yes
    writable = yes
    browsable = yes
    create mode = 0770
    directory mode = 0770

    [sharedfolder]
    path = /srv/samba/sharedfolder
    guest ok = yes
    writable = yes
    browsable = yes
    read only = no
    create mode = 0777
    directory mode = 0777









    share|improve this question







    New contributor




    Carter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      I am running windows 10 with our samba server being in ubuntu 18.04.2. The ubuntu machine is on the same domain as the windows computer, but when I go into the file browser to access it, it make me enter my network credentials, which I have tried entering the ubuntu machine login information, a premade domain user, and I've tried making a new user and group just for testing and none of it allows me to enter the folder from the windows machine and it gives me this message picture. Both machines are connected to a windows active directory domain as of now.



      [global]

      workgroup = universal
      realm = UNIVERSAL.LOCAL
      security = ads

      ntlm auth = true

      ; encrypt passwords = yes
      ; netbios name = samba-server
      template shell = /bin/bash
      winbind use default domain = yes
      winbind enum users = yes
      winbind enum groups = yes

      log file = /var/log/samba/%m.log
      log level = 1

      idmap config * : backend = tdb
      idmap config * : range = 3000-7999
      idmap config SAMDOM : backend = rid
      idmap config SAMDOM : range = 10000-999999

      template shell = /bin/bash
      template homedir = /home/%U


      ; interfaces = 127.0.0.0/8 eth0

      ; bind interfaces only = yes




      log file = /var/log/samba/log.%m

      max log size = 1000



      panic action = /usr/share/samba/panic-action %d



      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



      ; logon path = \%Nprofiles%U

      ; logon drive = H:

      ; logon script = logon.cmd

      ; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u

      ; add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u

      ; add group script = /usr/sbin/addgroup --force-badname %g


      ; include = /home/samba/etc/smb.conf.%m

      ; idmap uid = 10000-20000
      ; idmap gid = 10000-20000


      ; usershare max shares = 100

      usershare allow guests = yes
      ; server string = samba 4.7.6-ubuntu
      ; password server = *
      ; guest ok = no
      ; guest account = nobody


      ;[homes]
      ; comment = Home Directories
      ; browseable = no

      ; read only = yes

      ; create mask = 0700

      ; directory mask = 0700

      ; valid users = %S

      ;[netlogon]
      ; comment = Network Logon Service
      ; path = /home/samba/netlogon
      ; guest ok = yes
      ; read only = yes

      ;[profiles]
      ; comment = Users profiles
      ; path = /home/samba/profiles
      ; guest ok = no
      ; browseable = no
      ; create mask = 0600
      ; directory mask = 0700

      [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
      ; write list = root, @lpadmin


      [securedfolder]
      comment = secured shared folder
      path = /srv/samba/securedfolder
      Valid users = @UNIVERSALit
      Valid users = +clowe
      guest ok = yes
      writable = yes
      browsable = yes
      create mode = 0770
      directory mode = 0770

      [sharedfolder]
      path = /srv/samba/sharedfolder
      guest ok = yes
      writable = yes
      browsable = yes
      read only = no
      create mode = 0777
      directory mode = 0777









      share|improve this question







      New contributor




      Carter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      I am running windows 10 with our samba server being in ubuntu 18.04.2. The ubuntu machine is on the same domain as the windows computer, but when I go into the file browser to access it, it make me enter my network credentials, which I have tried entering the ubuntu machine login information, a premade domain user, and I've tried making a new user and group just for testing and none of it allows me to enter the folder from the windows machine and it gives me this message picture. Both machines are connected to a windows active directory domain as of now.



      [global]

      workgroup = universal
      realm = UNIVERSAL.LOCAL
      security = ads

      ntlm auth = true

      ; encrypt passwords = yes
      ; netbios name = samba-server
      template shell = /bin/bash
      winbind use default domain = yes
      winbind enum users = yes
      winbind enum groups = yes

      log file = /var/log/samba/%m.log
      log level = 1

      idmap config * : backend = tdb
      idmap config * : range = 3000-7999
      idmap config SAMDOM : backend = rid
      idmap config SAMDOM : range = 10000-999999

      template shell = /bin/bash
      template homedir = /home/%U


      ; interfaces = 127.0.0.0/8 eth0

      ; bind interfaces only = yes




      log file = /var/log/samba/log.%m

      max log size = 1000



      panic action = /usr/share/samba/panic-action %d



      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



      ; logon path = \%Nprofiles%U

      ; logon drive = H:

      ; logon script = logon.cmd

      ; add user script = /usr/sbin/adduser --quiet --disabled-password --gecos "" %u

      ; add machine script = /usr/sbin/useradd -g machines -c "%u machine account" -d /var/lib/samba -s /bin/false %u

      ; add group script = /usr/sbin/addgroup --force-badname %g


      ; include = /home/samba/etc/smb.conf.%m

      ; idmap uid = 10000-20000
      ; idmap gid = 10000-20000


      ; usershare max shares = 100

      usershare allow guests = yes
      ; server string = samba 4.7.6-ubuntu
      ; password server = *
      ; guest ok = no
      ; guest account = nobody


      ;[homes]
      ; comment = Home Directories
      ; browseable = no

      ; read only = yes

      ; create mask = 0700

      ; directory mask = 0700

      ; valid users = %S

      ;[netlogon]
      ; comment = Network Logon Service
      ; path = /home/samba/netlogon
      ; guest ok = yes
      ; read only = yes

      ;[profiles]
      ; comment = Users profiles
      ; path = /home/samba/profiles
      ; guest ok = no
      ; browseable = no
      ; create mask = 0600
      ; directory mask = 0700

      [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
      ; write list = root, @lpadmin


      [securedfolder]
      comment = secured shared folder
      path = /srv/samba/securedfolder
      Valid users = @UNIVERSALit
      Valid users = +clowe
      guest ok = yes
      writable = yes
      browsable = yes
      create mode = 0770
      directory mode = 0770

      [sharedfolder]
      path = /srv/samba/sharedfolder
      guest ok = yes
      writable = yes
      browsable = yes
      read only = no
      create mode = 0777
      directory mode = 0777






      samba






      share|improve this question







      New contributor




      Carter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question







      New contributor




      Carter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question






      New contributor




      Carter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 6 hours ago









      CarterCarter

      1




      1




      New contributor




      Carter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      Carter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      Carter is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          active

          oldest

          votes











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


          }
          });






          Carter is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1123592%2fwindows-domain-computer-cannot-connect-to-ubuntu-samba-share%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          Carter is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          Carter is a new contributor. Be nice, and check out our Code of Conduct.













          Carter is a new contributor. Be nice, and check out our Code of Conduct.












          Carter is a new contributor. Be nice, and check out our Code of Conduct.
















          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%2f1123592%2fwindows-domain-computer-cannot-connect-to-ubuntu-samba-share%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

          GameSpot

          日野市

          Tu-95轟炸機