- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 230 for sids (0.01 sec)
-
src/test/java/jcifs/SIDTest.java
SID sid = new SID(adminSidBytes, 0); assertArrayEquals(adminSidBytes, sid.toByteArray()); } /** * Test the equals method. * * @throws SmbException if the SID string is invalid */ @Test void testEquals() throws SmbException { SID sid1 = new SID(adminSidString); SID sid2 = new SID(adminSidBytes, 0); SID sid3 = new SID("S-1-1-0"); // EveryoneRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SIDTest.java
// Assert assertEquals("S-1-5-21-1-2-3-1029", sid.toString()); assertEquals(1029, sid.getRid()); } @Test @DisplayName("Relative constructor with SID appends all subauthorities of relative SID") void testRelativeConstructorWithSid() throws Exception { // Arrange SID dom = new SID("S-1-5-21");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/internal/dtyp/SecurityDescriptorTest.java
assertEquals(2, securityDescriptor.getAces().length); } @Test @DisplayName("Test decode with no SIDs and no DACL") void testDecodeWithNoSidsNoDacl() throws SMBProtocolDecodingException { // Prepare minimal buffer with no SIDs and no DACL prepareMinimalSecurityDescriptorBuffer(testBuffer, 0, false, false, false);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 18.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbFile.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 112.2K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/rpc.java
*/ public sid_t() { // Default constructor } /** The revision level of the SID structure */ public byte revision; /** The number of sub-authorities in the SID */ public byte sub_authority_count; /** The identifier authority value (6 bytes) */ public byte[] identifier_authority; /** The array of sub-authority values */Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.3K bytes - Viewed (0) -
src/main/java/jcifs/SmbResource.java
* @return the owner group SID, <code>null</code> if not present * @throws IOException if an I/O error occurs */ SID getOwnerGroup(boolean resolve) throws IOException; /** * Return the resolved owner user SID for this file or directory * * @return the owner user SID, <code>null</code> if not present * @throws IOException if an I/O error occurs */ SID getOwnerUser() throws IOException;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 28K bytes - Viewed (1) -
src/test/java/jcifs/dcerpc/msrpc/samrTest.java
verify(mockNdrBuffer).enc_ndr_referent(array.rids, 1); } @Test @DisplayName("Should encode array with null RIDs") void testEncodeNullRids() throws NdrException { // Given: Array with null RIDs samr.SamrRidWithAttributeArray array = new samr.SamrRidWithAttributeArray(); array.count = 0; array.rids = null; // When: Encoding array
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/PermissionHelper.java
if (responseData.getUrl().startsWith("smb:")) { final SID[] allowedSids = (SID[]) metaDataMap.get(SmbClient.SMB_ALLOWED_SID_ENTRIES); if (allowedSids != null) { for (final SID sid : allowedSids) { final String accountId = sambaHelper.getAccountId(sid); if (accountId != null) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 15.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/samrTest.java
verify(mockNdrBuffer).enc_ndr_referent(array.rids, 1); } @Test @DisplayName("Should encode array with null RIDs") void testEncodeNullRids() throws NdrException { // Given: Array with null RIDs samr.SamrRidWithAttributeArray array = new samr.SamrRidWithAttributeArray(); array.count = 0; array.rids = null; // When: Encoding array
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 33.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java
// Arrange jcifs.SID mockSid1 = mock(jcifs.SID.class); jcifs.SID mockSid2 = mock(jcifs.SID.class); jcifs.SID mockSid3 = mock(jcifs.SID.class); when(mockSid1.unwrap(sid_t.class)).thenReturn(mockSidT); when(mockSid2.unwrap(sid_t.class)).thenReturn(mockSidT); when(mockSid3.unwrap(sid_t.class)).thenReturn(mockSidT); testSids = new jcifs.SID[] { mockSid1, mockSid2, mockSid3 };Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.6K bytes - Viewed (0)