Closed Bargenish closed 2 years ago
The error you get here relates to STATUS_INVALID_WORKSTATION
which essentially means the account is not authorized to logon onto the target host in question. In AD these settings are under the Log On To
option of the user account
I remember this being a complicated option as it actually applies to the workstation specified in the NTLM token which is the client host (one running smbprotocol).
@jborean93 Thanks for replying so quickly! Let me check with the customer, not sure that's the case here but I'll double check. will update here soon. Thanks!
Customer mentioned the issue is resolved. Thanks for looking into it!!
When trying to create a session with a username that contains more than one hyphen, an exception is raised.
The username (
AA-user-with-hyphens
) is valid and the connection should be established successfully.traceback: