[Samba] Trust relationship between workstation and domain failed

Jones Syue 薛懷宗 jonessyue at qnap.com
Mon Aug 14 02:57:29 UTC 2023

Hello Anantha

Patched samba could address this issue, see:

Jones Syue | 薛懷宗
QNAP Systems, Inc.
From: samba <samba-bounces at lists.samba.org> on behalf of Anantha Raghava H A via samba <samba at lists.samba.org>
Sent: Monday, August 14, 2023 10:22 AM
To: samba <samba at lists.samba.org>
Subject: [Samba] Trust relationship between workstation and domain failed


We have samba-ad version 4.18.1 running in our environment. We use
static IP in our environment for all workstations and serves. Samba is
installed on RHEL 8.

Off late, we have been observing that, when we try to access any network
shared resource using their IP address, we get the error "\\x.x.x.x is
not accessible. You might not have permission to use this resource.
Contact the administrator of this server to find out if you have access
permissions. The trust relationship between this workstation and the
primary domain failed."

However if we access the same resource using their hostname, everything
works. No errors.

We also observed that DNS is getting updated properly and even the
reverse queries with IP is returning the hostname properly confirming
that the pointer records in DNS are proper. But when we try to access
the network resource using IP address, we get above error.

Any pointers to identify the issue?

Note that PowerShell is blocked in our environment.


Thanks & Regards,

Anantha Raghava H A

This e-mail communication and any attachments may be privileged and
confidential to Exzatech Consulting And Services Pvt. Ltd., Bangalore,
and are intended only for the use of the recipients named above If you
are not the addressee you may not copy, forward, disclose or use any
part of it. If you have received this message in error, please delete it
and all copies from your system and notify the sender immediately by
return e-mail. Internet communications cannot be guaranteed to be
timely, secure, error or virus-free. The sender does not accept
liability for any errors or omissions.

Do not print this e-mail unless required. Save Paper & trees.

To unsubscribe from this list go to the following URL and read the
instructions:  https://apc01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.samba.org%2Fmailman%2Foptions%2Fsamba&data=05%7C01%7Cjonessyue%40qnap.com%7C733c66f38eba44f4c97508db9c70710e%7C6eba88076ef04e31890ca6ecfbb98568%7C0%7C0%7C638275778972279660%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=XtwqjERJQNP5XN8nmi99kIOzAT%2FcX96IaP%2Fuc9VXpls%3D&reserved=0<https://lists.samba.org/mailman/options/samba>

More information about the samba mailing list