Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 181 for kids (0.02 sec)

  1. src/main/java/jcifs/SidResolver.java

         */
        void resolveSids(CIFSContext tc, String authorityServerName, SID[] sids) throws CIFSException;
    
        /**
         * Resolve part of an array of SIDs using a cache and at most one MSRPC request.
         *
         * @param tc the CIFS context to use
         * @param authorityServerName the server to use for SID resolution
         * @param sids the array of SIDs to resolve
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SID.java

                    } else {
                        list.add(sids[si]);
                    }
                }
    
                if (list.size() > 0) {
                    sids = (SID[]) list.toArray(new SID[0]);
                    SID.resolveSids0(authorityServerName, auth, sids);
                    for (si = 0; si < sids.length; si++) {
                        sid_cache.put(sids[si], sids[si]);
                    }
                }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SIDCacheImpl.java

                        final SID[] sids = new SID[rpc.sids.num_sids];
    
                        final String origin_server = handle.getServer();
                        final CIFSContext origin_ctx = handle.getTransportContext();
    
                        for (int i = 0; i < sids.length; i++) {
                            sids[i] = new SID(rpc.sids.sids[i].sid, 0, null, null, false);
                            sids[i].origin_server = origin_server;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

            }
    
            /** Number of SIDs in the array. */
            public int count;
            /** Array of translated SIDs. */
            public LsarTranslatedSid[] sids;
    
            @Override
            public void encode(NdrBuffer _dst) throws NdrException {
                _dst.align(4);
                _dst.enc_ndr_long(count);
                _dst.enc_ndr_referent(sids, 1);
    
                if (sids != null) {
    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/main/java/jcifs/dcerpc/msrpc/LsarSidArrayX.java

        LsarSidArrayX(final jcifs.SID[] sids) {
            this.num_sids = sids.length;
            this.sids = new lsarpc.LsarSidPtr[sids.length];
            for (int si = 0; si < sids.length; si++) {
                this.sids[si] = new lsarpc.LsarSidPtr();
                this.sids[si].sid = sids[si].unwrap(sid_t.class);
            }
        }
    
        LsarSidArrayX(final SID[] sids) {
            this.num_sids = sids.length;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java

            sidArray.num_sids = 2;
            sidArray.sids = new lsarpc.LsarSidPtr[2];
    
            sidArray.sids[0] = new lsarpc.LsarSidPtr();
            sidArray.sids[0].sid = new rpc.sid_t();
            sidArray.sids[0].sid.revision = 1;
            sidArray.sids[0].sid.identifier_authority = new byte[] { 0, 0, 0, 0, 0, 5 };
            sidArray.sids[0].sid.sub_authority_count = 1;
            sidArray.sids[0].sid.sub_authority = new int[] { 500 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            assertNotNull(sidArray.sids);
            assertEquals(2, sidArray.sids.length);
            assertNotNull(sidArray.sids[0]);
            assertNotNull(sidArray.sids[1]);
            // Cannot verify decode on non-mock objects - they are created by decode
            // Just verify they were created
            assertNotNull(sidArray.sids[0]);
            assertNotNull(sidArray.sids[1]);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLookupSids.java

     * This class provides functionality to resolve SIDs to their corresponding
     * account names using the LSA RPC interface.
     */
    public class MsrpcLookupSids extends lsarpc.LsarLookupSids {
    
        SID[] sids;
    
        /**
         * Creates a new request to lookup SIDs.
         *
         * @param policyHandle the LSA policy handle
         * @param sids the array of SIDs to lookup
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/MsrpcGetMembersInAliasTest.java

            // Create an instance of the class to be tested
            MsrpcGetMembersInAlias request = new MsrpcGetMembersInAlias(aliasHandle, sids);
    
            // Assert that the public 'sids' field is initialized as expected
            assertEquals(sids, request.sids, "The 'sids' field should be initialized by the constructor.");
    
            // Use reflection to access and verify protected fields from the parent class DcerpcMessage
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top