Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement SMB signing #46

Open
jaredtbates opened this issue May 14, 2019 · 2 comments
Open

Implement SMB signing #46

jaredtbates opened this issue May 14, 2019 · 2 comments

Comments

@jaredtbates
Copy link

Hi, I was looking around at this library for a project and found an issue with SMB signing not being supported.

We were getting this error when trying to access any SMB shares: Failure: STATUS_ACCESS_DENIED (0xC0000022) : {Access Denied} A process has requested access to an object but has not been granted those access rights. I found we had a group policy enabled on the file server: Computer Configuration > Windows Settings > Security Settings > Local Policies > Security Options > Microsoft network server: Digitally sign communications (always). After I disabled that policy, I was able to access the shares.

Any thoughts? Thank you!

@olivierlambert
Copy link
Member

Do you know how SMB signing works or do you have further documentation about it?

@jaredtbates
Copy link
Author

I don't have any knowledge myself, however after some looking I did find Microsoft's official SMB protocol documentation has some info about it. I think that page 140, under section 4.3 here describes it, however I may be wrong: https://winprotocoldoc.blob.core.windows.net/productionwindowsarchives/MS-SMB/%5bMS-SMB%5d.pdf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants