Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for sid_t (0.02 sec)

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

         * @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;
            final MsrpcSamrOpenDomain rpc = new MsrpcSamrOpenDomain(policyHandle, access, sid, this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/msrpc/MsrpcSamrOpenDomain.java

         * @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;
            this.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)
  3. src/main/java/jcifs/dcerpc/msrpc/samr.idl

    			[in] uint32_t unknown,
    			[in] uint32_t access_mask,
    			[out] policy_handle *handle);
    
    	[op(0x07)]
    	int SamrOpenDomain([in] policy_handle *handle,
    			[in] uint32_t access_mask,
    			[in] sid_t *sid,
    			[out] policy_handle *domain_handle);
    
    	typedef struct {
    		uint32_t idx;
    		unicode_string name;
    	} SamrSamEntry;
    
    	typedef struct {
    		uint32_t count;
    		[size_is(count)] SamrSamEntry *entries;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SIDCacheImplTest.java

                domains.domains[0] = new lsarpc.LsarTrustInformation();
                domains.domains[0].name = new UnicodeString("TESTDOM", false);
                domains.domains[0].sid = new jcifs.dcerpc.rpc.sid_t();
                rpc.domains = domains;
    
                // Names: provide account names and types for each SID
                lsarpc.LsarTransNameArray names = new lsarpc.LsarTransNameArray();
                names.count = in.length;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14K bytes
    - Viewed (0)
  5. src/main/java/jcifs/dcerpc/msrpc/SamrDomainHandle.java

         * @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;
            final MsrpcSamrOpenDomain rpc = new MsrpcSamrOpenDomain(policyHandle, access, sid, this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            domainInfo.name.length = 10;
            domainInfo.name.maximum_length = 20;
            domainInfo.name.buffer = new short[10];
            domainInfo.sid = mock(rpc.sid_t.class);
    
            // The index property is already set in setUp()
    
            domainInfo.encode(mockNdrBuffer);
    
            verify(mockNdrBuffer).align(4);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
  7. src/test/java/jcifs/dcerpc/msrpc/SamrDomainHandleTest.java

    @ExtendWith(MockitoExtension.class)
    class SamrDomainHandleTest {
    
        @Mock
        private DcerpcHandle mockDcerpcHandle;
        @Mock
        private SamrPolicyHandle mockPolicyHandle;
        @Mock
        private rpc.sid_t mockSid;
    
        // Use ArgumentCaptor to capture the MsrpcSamrOpenDomain instance passed to sendrecv
        private ArgumentCaptor<MsrpcSamrOpenDomain> openDomainCaptor;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SIDCacheImpl.java

    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.SidResolver;
    import jcifs.dcerpc.DcerpcHandle;
    import jcifs.dcerpc.UnicodeString;
    import jcifs.dcerpc.rpc;
    import jcifs.dcerpc.rpc.sid_t;
    import jcifs.dcerpc.msrpc.LsaPolicyHandle;
    import jcifs.dcerpc.msrpc.MsrpcEnumerateAliasesInDomain;
    import jcifs.dcerpc.msrpc.MsrpcGetMembersInAlias;
    import jcifs.dcerpc.msrpc.MsrpcLookupSids;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/dcerpc/msrpc/samr.java

            public rpc.policy_handle handle;
            /** The desired access rights to the domain */
            public int access_mask;
            /** The SID of the domain to open */
            public rpc.sid_t sid;
            /** The returned handle to the domain */
            public rpc.policy_handle domain_handle;
    
            /**
             * Constructs a SamrOpenDomain request.
             *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

            public rpc.policy_handle handle;
            /** The desired access rights to the domain */
            public int access_mask;
            /** The SID of the domain to open */
            public rpc.sid_t sid;
            /** The returned handle to the domain */
            public rpc.policy_handle domain_handle;
    
            /**
             * Constructs a SamrOpenDomain request.
             *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.1K bytes
    - Viewed (0)
Back to top