Skip to content

Commit da92d29

Browse files
authored
fix: use correct CacheInstance for DomainSidMapping (#92)
1 parent f5f191a commit da92d29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/CommonLib/Cache.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ internal static void AddSidToDomain(string key, string value)
6363
/// <returns></returns>
6464
internal static bool GetDomainSidMapping(string key, out string value)
6565
{
66-
if (CacheInstance != null) return CacheInstance.MachineSidCache.TryGetValue(key, out value);
66+
if (CacheInstance != null) return CacheInstance.SIDToDomainCache.TryGetValue(key, out value);
6767
value = null;
6868
return false;
6969
}

0 commit comments

Comments
 (0)