- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for SID_TYPE_UNKNOWN (0.41 sec)
-
src/test/java/jcifs/smb/SIDCacheImplTest.java
rpc.names.names[0].name = new UnicodeString("unknown", false); rpc.names.names[0].sid_index = 0; return null; }).when(handle).sendrecv(any()); cache.resolveSids(handle, policy, in); // When type is SID_TYPE_UNKNOWN, getAccountName returns the RID as string
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SID.java
*/ public static final int SID_TYPE_INVALID = lsarpc.SID_NAME_INVALID; /** * SID type indicating an unknown account type. */ public static final int SID_TYPE_UNKNOWN = lsarpc.SID_NAME_UNKNOWN; static final String[] SID_TYPE_NAMES = { "0", "User", "Domain group", "Domain", "Local group", "Builtin group", "Deleted", "Invalid", "Unknown" }; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 31.5K bytes - Viewed (0) -
src/main/java/jcifs/SID.java
int SID_TYPE_DELETED = 6; /** * SID type indicating an invalid SID. */ int SID_TYPE_INVALID = 7; /** * SID type indicating an unknown account type. */ int SID_TYPE_UNKNOWN = 8; /** * Gets the domain SID for this SID. * * @return domain SID */ SID getDomainSid(); /** * Get the RID *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/jcifs/smb/SID.java
} @Override public String getDomainName() { if (this.origin_server != null) { resolveWeak(); } if (this.type == SID_TYPE_UNKNOWN) { final String full = toString(); return full.substring(0, full.length() - getAccountName().length() - 1); } return this.domainName; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 16K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
byte[] ident = new byte[] { 0, 0, 0, 0, 0, 5 }; // Unknown: domainName derived from numeric SID, accountName = RID SID unknown = new SID(buildSidT((byte) 1, ident, 10, 20, 30), jcifs.SID.SID_TYPE_UNKNOWN, null, null, false); assertEquals("S-1-5-10-20", unknown.getDomainName()); assertEquals("30", unknown.getAccountName()); // Domain type: domain name as-is, account name empty
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.8K bytes - Viewed (0) -
src/test/java/jcifs/SIDTest.java
SID domainSid = new SID(rpcSid, SID.SID_TYPE_DOMAIN, "DOMAIN", null, false); assertEquals("", domainSid.getAccountName()); SID unknownSid = new SID(rpcSid, SID.SID_TYPE_UNKNOWN, null, null, false); unknownSid.sub_authority_count = 1; unknownSid.sub_authority = new int[] { 123 }; assertEquals("123", unknownSid.getAccountName()); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0)