Skip to content

Fixed Advapi32Util getAccountBySid for remote machines#1068

Closed
nirud wants to merge 1 commit intojava-native-access:masterfrom
nirud:Advapi32Util-getAccountBySid-fix
Closed

Fixed Advapi32Util getAccountBySid for remote machines#1068
nirud wants to merge 1 commit intojava-native-access:masterfrom
nirud:Advapi32Util-getAccountBySid-fix

Conversation

@nirud
Copy link
Copy Markdown

@nirud nirud commented Feb 20, 2019

Advapi32Util.getAccountBySid(String systemName, PSID sid) did not pass the parameter systemName to LookupAccountBySid calls.
It always passed null and got the account from the local machine.

There are no tests which tests the Advapi32 API involving a second remote machine therefor no tests were added or changed for this pull request.

@matthiasblaesing
Copy link
Copy Markdown
Member

Thank you for the work. Merged as b5b875f (I added CHANGES.md entry for this).

@nirud nirud deleted the Advapi32Util-getAccountBySid-fix branch February 21, 2019 20:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants