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

Takeshi Suyama tsuyama94 at gmail.com
Sun May 8 23:49:00 UTC 2016


Hi all.

The problem has been finally solved. Please let me explain how to
solve it.

I just installed winbind package, and the samba server works fine
again.

I don't understand why winbind contributes to fix the problem.


Take care.

On Tue, 26 Apr 2016 22:02:04 -0700
David Bear <dwbear75 at gmail.com> wrote:

> Hm.. standard troubleshooting may be
> 
> use smbclient -L on the samba server to list shares and make sure samba is
> responding to request.
> 
> check the samba logs for info -- and if needed turn loglevel up in smb.conf
> 
> if this was a joined server prior to upgrade, you may need to rejoin it to
> the domain
> 
> 
> On Mon, Apr 25, 2016 at 5:52 PM, Takeshi Suyama <tsuyama94 at gmail.com> wrote:
> 
> > 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>
> >
> >
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/options/samba
> >
> 
> 
> 
> -- 
> David Bear
> mobile: (602) 903-6476

-- 
Takeshi Suyama <tsuyama94 at gmail.com>




More information about the samba mailing list