O
O
Oleg Nerwin2015-10-09 18:41:36
linux
Oleg Nerwin, 2015-10-09 18:41:36

Why is there no access to shared folder on samba 4 ubuntu from windows 10 by netbios name?

When you try to open a shared folder like \\computername\resourcename on the samba 4.1 server from under windows 10, an error appears that the network folder is not available, the computer itself appears in the network environment and the list of resources on it is also visible. After 1-2 minutes, access appears and works until the network interface is turned off.
If you connect by ip address, there are no problems. No problem on win 7 either. DNS, by which addresses are determined, is working properly.
samba 4.1 ubuntu 14.04
There is also access to ipv6 (via the ipv6-literal.net domain). Samba config is the easiest

[global]
    netbios name = ROUTER
    workgroup = WORKGROUP
    security = user
    load printers = no
    printcap name = /dev/null
    disable spoolss = yes
    guest account = nobody
    log file = /var/log/samba/log.%m
    max log size = 50
    passdb backend = tdbsam
    socket options = IPTOS_LOWDELAY TCP_NODELAY
    interfaces = br0 127.0.0.1
    bind interfaces only = yes
    local master = yes
    preferred master = yes
    domain master = yes
    wins support = yes
    os level = 64
    unix charset = utf-8
    dos charset = cp866
    map to guest = Bad User
    syslog = 0
    use sendfile = yes
[public]
   comment = Public
   writable = Yes
   path = /home/pub
   browseable = Yes
   guest ok = Yes
   guest only = Yes

upd. I looked with wireshark, on the first attempt, the call goes to http://router/resource name with useragent microsoft-webdav-miniredir. Can this be turned off somehow?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
izyk, 2015-10-13
@Nerwin

Try the following:
server max protocol = NT1
or
domain master = no
local master = no
This is clumsy, but it will remove the delay.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question