[Pkg-samba-maint] 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 19:57:49 UTC 2015


Package: samba
Version: 2:4.1.17+dfsg-2
Tags: upstream, fixed-upstream

Samba 4.1.17 appears to have a bug causing all authentication attempts
to fail (internal error NT_STATUS_NO_SUCH_USER) if the NetBIOS name of
the server is over 15 characters long.  This includes the inferred name
if "netbios name" is not set in the config file and the machine's
hostname is over 15 characters long -- therefore the config may not even
be "incorrect" but authentication still break.

This was reported upstream previously
<https://bugzilla.samba.org/show_bug.cgi?id=11008> and is fixed in a
newer Samba.  The fix may need to be backported.

A workaround is to set "netbios name" explicitly in smb.conf to a string
of 15 or fewer characters.  After restarting Samba, authentication
should work as before.

-- 
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.



More information about the Pkg-samba-maint mailing list