Skip to content

Commit

Permalink
fix: use correct CacheInstance for DomainSidMapping (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
uidzeroo authored Jan 19, 2024
1 parent f5f191a commit da92d29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/CommonLib/Cache.cs
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ internal static void AddSidToDomain(string key, string value)
/// <returns></returns>
internal static bool GetDomainSidMapping(string key, out string value)
{
if (CacheInstance != null) return CacheInstance.MachineSidCache.TryGetValue(key, out value);
if (CacheInstance != null) return CacheInstance.SIDToDomainCache.TryGetValue(key, out value);
value = null;
return false;
}
Expand Down

0 comments on commit da92d29

Please sign in to comment.