Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 170 for sids (1.98 sec)

  1. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SID.java

        /**
         * SID type indicating a local group or alias.
         */
        int SID_TYPE_ALIAS = 4;
    
        /**
         * SID type indicating a well-known group.
         */
        int SID_TYPE_WKN_GRP = 5;
    
        /**
         * SID type indicating a deleted account.
         */
        int SID_TYPE_DELETED = 6;
    
        /**
         * SID type indicating an invalid SID.
         */
        int SID_TYPE_INVALID = 7;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  4. 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
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  5. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

            int ai;
    
            if (resolveSids) {
                final SID[] sids = new SID[aces.length];
                final String[] names = null;
    
                for (ai = 0; ai < aces.length; ai++) {
                    sids[ai] = aces[ai].sid;
                }
    
                for (int off = 0; off < sids.length; off += 64) {
                    int len = sids.length - off;
                    if (len > 64) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  7. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  8. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.7K bytes
    - Viewed (0)
  9. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 33.6K bytes
    - Viewed (0)
Back to top