[Samba] libsmbclient: Share access denied with domain name mismatch

Philipp Gesang philipp.gesang at intra2net.com
Thu Dec 21 08:40:12 UTC 2017


Hi guys,

after updating Samba from 3.6 to 4.7, libsmbclient is giving us
trouble connecting to Windows fileservers under not certain
conditions. We have narrowed it down to a domain / workgroup name
mismatch.

With the old client, it was possible to the empty string as the
workgroup and the client would connect to a share just fine. Now
with 4.x, some servers consistently respond with
STATUS_LOGON_FAILURE for anything other than the exact domain
they are configured with themselves. We would like the old
behavior back.

NT1 protocol is used in both cases (no SMBv2).

Sadly, the feedback from the server operators is rather lacking
so we still fail to reproduce this in our test setup. All we got
is packet captures. How would one go about investigating an issue
like this?

Puzzled,
Philipp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba/attachments/20171221/a01baaf4/signature.sig>


More information about the samba mailing list