Getting an error NT_STATUS_LOGON_FAILURE while accessing samba share.
Issue
- Receiving NT_STATUS_LOGON_FAILURE error when trying to connect to the share using smbclient
- Even after following steps in KCS How to configure a Samba server with SSSD in RHEL with Winbind handling AD Join samba share access is not working.
[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 -ucommand.
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.