[Samba] Can't access by NetBIOS Aliases or IP Address

Takeshi Suyama tsuyama94 at gmail.com
Tue Apr 26 00:52:01 UTC 2016


Hi all.

I am running Debian jessie server with Samba, which has joined the Active Directory domain. The domain controllers are Windows Server 2012 R2.

After I upgraded Samba version from 4.1.17+dfsg-2+deb8u2 to 4.2.10+dfsg-0+deb8u2, I'm facing the problem that I can't access Samba share by NetBIOS Aliases or IP Address.

The Samba's NetBIOS name is mysamba, and I can access by NetBIOS Name from windows pcs as follows.

net use g: \\mysamba\myshare

But, I can't access by NetBIOS aliases or IP address as follows. (mysamba01 is NetBIOS aliase)

net use g: \\mysamba01\myshare
or
net use g: \\192.168.0.1\myshare

The previous version, 4.1.17+dfsg-2+deb8u2 works fine, and I can access share by NetBIOS Aliases or IP Address.

Any suggestions will be appreciated.

----------smb.conf----------
[global]
        dos charset = CP932
        unix charset = UTF-8
        workgroup = foo
        realm = foo.LOCAL
        netbios name = mysamba
        netbios aliases = mysamba01
        security = ADS
        map to guest = Bad Password
        server max protocol = SMB2
        follow symlinks = yes
        unix extensions = No
        load printers = No
        disable spoolss = Yes
        dns proxy = No
        wins server = 192.168.1.2 172.16.1.5
        usershare allow guests = Yes
        panic action = /usr/share/samba/panic-action %d
        idmap config * : backend = tdb
        hosts allow = 192.168.1. 192.168.30. 192.168.31.
        printing = bsd
        wide links = Yes


-- 
Takeshi Suyama <tsuyama94 at gmail.com>




More information about the samba mailing list