[Pkg-samba-maint] Bug#783658: Bug#783658: All authentication fails with NT_STATUS_NO_SUCH_USER if server's NetBIOS name is >15 chars
Christopher David Howie
me at chrishowie.com
Tue Apr 28 21:11:43 UTC 2015
On 04/28/2015 04:53 PM, Jelmer Vernooij wrote:
> NetBIOS names can't be longer than 15 characters, even with the
> upstream patch - and samba will already truncate the netbios name if
> you set it to a longer name in smb.conf.
Right. The problem is that if you don't specify "netbios name" in the
config file, but your machine's hostname is longer than 15 characters,
Samba takes it as the NetBIOS name but *does not* truncate it.
This silently and near-completely breaks Samba on machines with a >15
character hostname and without "netbios name" set in smb.conf. There is
no error nor warning to indicate problems beyond widespread
authentication failures -- and when the failures are noticed, there is
no obvious cause. (It took me several hours to locate the problem!)
--
Chris Howie
http://www.chrishowie.com
http://en.wikipedia.org/wiki/User:Crazycomputers
If you correspond with me on a regular basis, please read this document:
http://www.chrishowie.com/email-preferences/
PGP fingerprint: 2B7A B280 8B12 21CC 260A DF65 6FCE 505A CF83 38F5
------------------------------------------------------------------------
IMPORTANT INFORMATION/DISCLAIMER
This document should be read only by those persons to whom it is
addressed. If you have received this message it was obviously addressed
to you and therefore you can read it.
Additionally, by sending an email to ANY of my addresses or to ANY
mailing lists to which I am subscribed, whether intentionally or
accidentally, you are agreeing that I am "the intended recipient," and
that I may do whatever I wish with the contents of any message received
from you, unless a pre-existing agreement prohibits me from so doing.
This overrides any disclaimer or statement of confidentiality that may
be included on your message.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-samba-maint/attachments/20150428/9ee18dcc/attachment.sig>
More information about the Pkg-samba-maint
mailing list