Score:0

Samba server not visible on windows network

cn flag
**My Server Machine**

 - Nvidia Json Tx2 
 - 8 GB RAM
 - Arm cortex A57 cpu
 - Samba4/Ubuntu 18.4 



  **My smb.conf**
    [global]
    
    
       workgroup = WORKGROUP
       force user = whilone
    
            server string = %h server (Samba, Ubuntu)
    
    #   wins support = no
    
    ;   wins server = w.x.y.z
    
       dns proxy = no
    
    #### Networking ####
    
    ;   interfaces = 127.0.0.0/8 eth0
    
    ;   bind interfaces only = yes
    
    
    #### Debugging/Accounting ####
    
    
       log file = /var/log/samba/log.%m
    
       max log size = 1000
    
    parameter to 'yes'.
      syslog only = no
       Syslog = 0
    panic action = /usr/share/samba/panic-action %d
    
    
    ####### Authentication #######
    
       server role = standalone server
    
       passdb backend = tdbsam
    
       obey pam restrictions = yes
    
       unix password sync = yes
     map to guest = bad user
    logon path = \\%N\profiles\%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 %gWhat can i do
    ############ Misc ############
    
    ;   include = /home/samba/etc/smb.conf.%m
    
    ;   idmap uid = 10000-20000
    ;   idmap gid = 10000-20000
    ;   template shell = /bin/bash
    
    
    ;   usershare max shares = 100
    
       usershare allow guests = yes
    
    
    
    
    
    
    ;[homes]
    ;   comment = Home Directories
    ;   browseable = no
    
    ;   read only = no
    
    ;   create mask = 0700
    
    ;   directory mask = 0700
    
    ;   valid users = %S
    
    ;[netlogon]
    ;   comment = Network Logon Service
    ;   path = /home/samba/netlogon
    ;   guest ok = yes
    ;   read only = no
    
    ;[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
    ;   write list = root, @lpadmin
    
    #######################SAMBASHARE########################################
    ;[sambashare]
    ; comment = Samba on Ubuntu
    ;  path = /home/whilone/sambashare
    ;  read only = no
    ;  browsable = yes
    ;  force user = whilone
    
    
        [deneme]
         path = /home/whilone/deneme
         valid users = umut yasin muhammed
         read only = yes
         browsable = yes
         write list = umut muhammed
         guest ok = no

i have 2 problems first; When I connect with windows client, printers and other computers appear on the network page, but my samba folder is not visible, I have to enter with the ip address. I activated SMB1 but nothing changed.

second; When I log in with an IP address, it asks me for a password on the first attempt, and then I can log in without a password. I want it to ask for a password every time I log in. I made the gpedit.msc settings, but the situation is still the same, I enter the folder with a password, I close the folder, and when I open it again, it enters without asking for a password. How can I fix this situation?

sleepyhead avatar
in flag
The first issue is related to WSDD the new discovery protocol Windows is using, but SAMBA doesn't have support for. https://linux-blog.anracom.com/2020/05/24/samba-4-shares-wsdd-and-windows-10-how-to-list-linux-samba-servers-in-the-win-10-explorer/
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.