We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I need to grab the owner name/SID and all the ACL data on a shared folder not files but only folder. my little example:
tree = conn.connectTree("Data") folder = conn.openFile(tree, '\\', READ_CONTROL , creationOption=FILE_LIST_DIRECTORY) info = conn.getSMBServer().queryInfo(tree, folder, infoType=SMB2_0_INFO_SECURITY, fileInfoClass=SMB2_SEC_INFO_00, additionalInformation=OWNER_SECURITY_INFORMATION, flags=0) sd = ldaptypes.SR_SECURITY_DESCRIPTOR() sd.fromString(info) print(f"{sd['OwnerSid']}")
I have this error: STATUS_ACCESS_DENIED({Access Denied} A process has requested access to an object but has not been garanted those access rights)
STATUS_ACCESS_DENIED({Access Denied} A process has requested access to an object but has not been garanted those access rights)
thanks
The text was updated successfully, but these errors were encountered:
what cmd u run ?
Sorry, something went wrong.
can you provide more context about the target share? permissions ? windows version?
No branches or pull requests
Hi,
I need to grab the owner name/SID and all the ACL data on a shared folder not files but only folder.
my little example:
I have this error:
STATUS_ACCESS_DENIED({Access Denied} A process has requested access to an object but has not been garanted those access rights)
thanks
The text was updated successfully, but these errors were encountered: