Getting an error NT_STATUS_LOGON_FAILURE while accessing samba share.

Solution Verified - Updated -

Issue

[root@RHEL810 ~]# smbclient //rhel810.example.com/sharename -U aduser -d10
.
SPNEGO login failed: The attempted logon is invalid. This is either due to a bad username or authentication information.
session setup failed: NT_STATUS_LOGON_FAILURE <---
  • Unable to lookup AD users with wbinfo -u command.

Environment

  • Red Hat Enterprise Linux 8.10
  • samba
  • winbind
  • sssd

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content