Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 97 for sid (0.01 sec)

  1. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLookupSids.java

     */
    
    package jcifs.smb1.dcerpc.msrpc;
    
    import jcifs.smb1.smb1.SID;
    
    /**
     * MSRPC implementation for looking up security identifiers (SIDs).
     * 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.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            domainInfo.name = new rpc.unicode_string(); // Use real object
            domainInfo.name.buffer = null; // Null buffer
            domainInfo.sid = null; // Null SID
    
            domainInfo.encode(mockNdrBuffer);
    
            verify(mockNdrBuffer, times(2)).enc_ndr_referent(null, 1); // name.buffer and sid
            verify(mockDeferredNdrBuffer, never()).enc_ndr_long(anyInt());
            verify(mockDeferredNdrBuffer, never()).enc_ndr_short(anyShort());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/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);
            ptype = 0;
            flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java

         * @param access the desired access rights
         * @param sid the security identifier of the domain
         * @throws IOException if an I/O error occurs during handle creation
         */
        public SamrDomainHandle(final DcerpcHandle handle, final SamrPolicyHandle policyHandle, final int access, final rpc.sid_t sid)
                throws IOException {
            this.handle = handle;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. 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)
  6. src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java

                "32768, 16384, 'test*.txt', 500, 32768" })
        void testConstructorWithVariousParameters(int sid, int resumeKey, String filename, int batchCount, int batchSize) {
            // Test constructor with various parameter combinations
            trans2FindNext2 = new Trans2FindNext2(config, sid, resumeKey, filename, batchCount, batchSize);
    
            assertNotNull(trans2FindNext2);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt

        val cookie = parse(url, "SID=31d4d96e407aad42; Path=/; Domain=example.com")
        assertThat(cookie!!.domain).isEqualTo("example.com")
        assertThat(cookie.path).isEqualTo("/")
        assertThat(cookie.hostOnly).isFalse()
        assertThat(cookie.toString()).isEqualTo("SID=31d4d96e407aad42; domain=example.com; path=/")
      }
    
      @Test fun secureAndHttpOnly() {
        val cookie = parse(url, "SID=31d4d96e407aad42; Path=/; Secure; HttpOnly")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/SamrDomainHandle.java

         * @param access the desired access rights
         * @param sid the security identifier of the domain
         * @throws IOException if an I/O error occurs during handle creation
         */
        public SamrDomainHandle(final DcerpcHandle handle, final SamrPolicyHandle policyHandle, final int access, final rpc.sid_t sid)
                throws IOException {
            this.handle = handle;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/com/SmbComFindClose2Test.java

        }
    
        @Test
        void testConstructorAndToString() {
            String s = instance.toString();
            // toString includes the class name and the sid field
            assertTrue(s.startsWith("SmbComFindClose2["));
            assertTrue(s.contains("sid=" + TEST_SID));
        }
    
        @Test
        void testWriteParameterWordsWireFormatLittleEndian() {
            byte[] dst = new byte[2];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

                setField(resp, jcifs.internal.smb1.trans.SmbComTransactionResponse.class, "results", res);
                setField(resp, Trans2FindFirst2Response.class, "sid", 42);
                setField(resp, Trans2FindFirst2Response.class, "resumeKey", 100);
                setField(resp, Trans2FindFirst2Response.class, "lastName", "b");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
Back to top