Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 31 - 40 of 173 for fsid (0.02 seconds)

  1. 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"); // Everyone
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java

            assertTrue(s.contains(",sid=" + sid), "toString should include sid in decimal");
            assertTrue(s.contains(",searchCount=" + Trans2FindFirst2.LIST_SIZE), "toString should include searchCount using LIST_SIZE");
            assertTrue(s.contains(",informationLevel=0x104"), "toString should include information level 0x104");
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java

        private Trans2SetFileInformation trans2SetFileInformation;
        private final int fid = 123;
        private final int attributes = 1;
        private final long createTime = System.currentTimeMillis();
        private final long lastWriteTime = System.currentTimeMillis();
    
        @BeforeEach
        void setUp() {
            trans2SetFileInformation = new Trans2SetFileInformation(fid, attributes, createTime, lastWriteTime);
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  4. 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 };
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 12.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SIDCacheImpl.java

            final ArrayList<SID> list = new ArrayList<>(sids.length);
            int si;
    
            synchronized (this.sidCache) {
                for (si = 0; si < sids.length; si++) {
                    final SID s = sids[si].unwrap(SID.class);
                    final SID sid = this.sidCache.get(s);
                    if (sid != null) {
                        s.type = sid.type;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  6. src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java

            assertEquals(sidT1, lsarSidArrayX.sids[0].sid, "First SID should be unwrapped correctly");
            assertEquals(sidT2, lsarSidArrayX.sids[1].sid, "Second SID should be unwrapped correctly");
        }
    
        @Test
        void testConstructorWithJcifsSIDArrayDirectAssignment() {
            // Create mock SID objects
            SID mockSid1 = mock(SID.class);
            SID mockSid2 = mock(SID.class);
    
            SID[] sids = { mockSid1, mockSid2 };
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  7. src/main/java/jcifs/pac/PacDataInputStream.java

            System.arraycopy(bytes, 0, sidBytes, 8, bytes.length);
    
            return new SID(sidBytes, 0);
        }
    
        /**
         * Reads a full Security Identifier (SID) structure.
         * @return the SID object
         * @throws IOException if an I/O error occurs
         * @throws PACDecodingException if the SID data is invalid
         */
        public SID readSid() throws IOException, PACDecodingException {
            final int sidSize = readInt();
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.9K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SIDCacheImplTest.java

            // Prepare SIDs, two need resolution, one already resolved
            SID s1 = sid("S-1-5-21-10-11-12-1001");
            SID s2 = sid("S-1-5-21-10-11-12-1002");
            SID s3 = sid("S-1-5-21-10-11-12-1003");
            jcifs.SID[] arr = new jcifs.SID[] { s1, s2, s3 };
    
            // First call should resolve two (offset=0,length=2)
            doAnswer(inv -> {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 14K bytes
    - Click Count (0)
  9. src/main/java/jcifs/pac/PacLogonInfo.java

        }
    
        /**
         * Returns the user's Security Identifier (SID).
         * @return the user SID
         */
        public SID getUserSid() {
            return this.userSid;
        }
    
        /**
         * Returns the user's primary group SID.
         * @return the primary group SID
         */
        public SID getGroupSid() {
            return this.groupSid;
        }
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 14.3K bytes
    - Click Count (0)
  10. src/main/java/jcifs/smb1/smb1/TransPeekNamedPipe.java

     */
    
    package jcifs.smb1.smb1;
    
    class TransPeekNamedPipe extends SmbComTransaction {
    
        private final int fid;
    
        TransPeekNamedPipe(final String pipeName, final int fid) {
            name = pipeName;
            this.fid = fid;
            command = SMB_COM_TRANSACTION;
            subCommand = TRANS_PEEK_NAMED_PIPE;
            timeout = 0xFFFFFFFF;
            maxParameterCount = 6;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 2.3K bytes
    - Click Count (0)
Back to Top