Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 95 for sid (0.15 sec)

  1. src/test/java/jcifs/internal/dtyp/ACETest.java

            assertEquals(0x001200A9, ace.getAccessMask());
        }
    
        @Test
        @DisplayName("Test getSID returns correct SID")
        void testGetSID() throws SmbException {
            assertNull(ace.getSID());
    
            SID testSid = new SID("S-1-5-21-1234567890-123456789-123456789-1000");
            ace.sid = testSid;
    
            assertSame(testSid, ace.getSID());
        }
    
        @Test
        @DisplayName("Test decode with offset")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomain.java

         * @param access the desired access rights
         * @param sid the security identifier of the domain
         * @param domainHandle the domain handle to be populated
         */
        public MsrpcSamrOpenDomain(final SamrPolicyHandle handle, final int access, final rpc.sid_t sid, final SamrDomainHandle domainHandle) {
            super(handle, access, sid, domainHandle);
            this.ptype = 0;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SidResolver.java

         */
        SID[] getGroupMemberSids(CIFSContext tc, String authorityServerName, SID domsid, int rid, int flags) throws CIFSException;
    
        /**
         * Gets the domain SID for the specified server.
         *
         * @param authorityServerName the server name
         * @param tc the CIFS context to use
         * @return the server's SID
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/Trans2FindNext2.java

    import jcifs.smb1.util.Hexdump;
    
    class Trans2FindNext2 extends SmbComTransaction {
    
        private final int sid, informationLevel;
        private int resumeKey;
        private final int flags;
        private String filename;
    
        Trans2FindNext2(final int sid, final int resumeKey, final String filename) {
            this.sid = sid;
            this.resumeKey = resumeKey;
            this.filename = filename;
            command = SMB_COM_TRANSACTION2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

        /** SID name type: well-known group. */
        public static final int SID_NAME_WKN_GRP = 5;
        /** SID name type: deleted account. */
        public static final int SID_NAME_DELETED = 6;
        /** SID name type: invalid. */
        public static final int SID_NAME_INVALID = 7;
        /** SID name type: unknown. */
        public static final int SID_NAME_UNKNOWN = 8;
    
        /**
         * LSA translated SID structure for name to SID lookups.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 42.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SmbResourceTest.java

                when(mockResource.getOwnerGroup(true)).thenReturn(mockSID);
    
                // When
                SID ownerUser1 = mockResource.getOwnerUser();
                SID ownerUser2 = mockResource.getOwnerUser(false);
                SID ownerGroup1 = mockResource.getOwnerGroup();
                SID ownerGroup2 = mockResource.getOwnerGroup(true);
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/smb1/Trans2FindFirst2ResponseTest.java

            assertEquals(10, bytesRead);
            assertEquals(1, response.sid);
            assertEquals(2, response.numEntries);
            assertTrue(response.isEndOfSearch);
            assertEquals(3, response.eaErrorOffset);
            assertEquals(4, response.lastNameOffset);
        }
    
        @Test
        void testReadParametersWireFormat_FindNext2() {
            // In FindNext2, sid is not read
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/pac/PacLogonInfoTest.java

        private static final String TEST_DOMAIN = "TESTDOMAIN";
        private static final String TEST_SERVER = "SERVER01";
    
        private SID domainSid;
        private SID userSid;
    
        @BeforeEach
        void setUp() throws Exception {
            domainSid = new SID("S-1-5-21-1-2-3");
            userSid = new SID("S-1-5-21-1-2-3-1000");
        }
    
        private void writeLittleEndianShort(DataOutputStream dos, short value) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            byte[] data = new byte[] { 0x78, 0x56, 0x34, 0x12 };
            PacDataInputStream pdis = createInputStream(data);
            SID sid = pdis.readId();
            // The readId method creates a SID with authority 5 and the RID value
            // Expected format: S-1-5-305419896
            String sidString = sid.toString();
            assertNotNull(sidString);
            assertEquals("S-1-5-305419896", sidString);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

            bufferIndex += 2;
            final int ownerUOffset = ServerMessageBlock.readInt4(buffer, bufferIndex); // offset to owner sid
            bufferIndex += 4;
            final int ownerGOffset = ServerMessageBlock.readInt4(buffer, bufferIndex); // offset to group sid
            bufferIndex += 4;
            final int saclOffset = ServerMessageBlock.readInt4(buffer, bufferIndex); // offset to sacl
            bufferIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
Back to top