0

i try to connect from my mac to a smb server using this

smbclient.register_session(
 "smbserver.net",
 username="domain\\username",
 password="secret",
 port=445
 )

but i allways get this error

AccessDenied: Received unexpected status from the server: A process has requested access to an object but has not been granted those access rights. (3221225506) STATUS_ACCESS_DENIED: 0xc0000022

to check that the authentication is working i entered a wrong combination which lead to a LogonFailure. so this cannot be it. i also tried changing the username to [email protected] with the same AccessDenied error.

Using finder and a nifi container running on my machine i could establish a connection and load files.

asked Jun 17, 2025 at 13:56

0

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.