Skip to content
Snippets Groups Projects
Unverified Commit 1fc83f18 authored by Richard Cordovano's avatar Richard Cordovano Committed by GitHub
Browse files

Merge pull request #2492 from sleuthkit/ct-release-3.0.0

Merge ct-release-3.0.0 branch into develop branch
parents 7367392d e7e397cc
Branches
Tags
No related merge requests found
...@@ -963,7 +963,10 @@ public Optional<OsAccount> getWindowsOsAccount(String sid, String loginName, Str ...@@ -963,7 +963,10 @@ public Optional<OsAccount> getWindowsOsAccount(String sid, String loginName, Str
throw new OsAccountManager.NotUserSIDException(String.format("SID = %s is not a user SID.", sid)); throw new OsAccountManager.NotUserSIDException(String.format("SID = %s is not a user SID.", sid));
} }
return this.getOsAccountByAddr(sid, realm.get()); Optional<OsAccount> account = this.getOsAccountByAddr(sid, realm.get());
if (account.isPresent()) {
return account;
}
} }
// search by login name // search by login name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment