Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 240 for sids (0.02 seconds)

  1. 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);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  2. 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
         * @param off the starting offset in the array
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  3. 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: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Mon Aug 25 14:34:10 GMT 2025
    - 13.6K bytes
    - Click Count (0)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/LsarSidArrayX.java

    package jcifs.smb1.dcerpc.msrpc;
    
    import jcifs.smb1.smb1.SID;
    
    class LsarSidArrayX extends lsarpc.LsarSidArray {
    
        LsarSidArrayX(final 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];
            }
        }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 409 bytes
    - Click Count (0)
  5. src/main/java/jcifs/smb/SID.java

         * @param tc
         *            Context to use
         * @throws IOException if there is an error resolving the SID
         */
        public void resolve(final String authorityServerName, final CIFSContext tc) throws IOException {
            final SID[] sids = new SID[1];
            sids[0] = this;
            tc.getSIDResolver().resolveSids(tc, authorityServerName, sids);
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 16K bytes
    - Click Count (0)
  6. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

                        if (sids[_i] == null) {
                            sids[_i] = new LsarSidPtr();
                        }
                        sids[_i].decode(_src);
                    }
                }
            }
        }
    
        /** SID name type: none or unused. */
        public static final int SID_NAME_USE_NONE = 0;
        /** SID name type: user account. */
        public static final int SID_NAME_USER = 1;
        /** SID name type: domain group. */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 42.5K bytes
    - Click Count (0)
  7. src/main/java/jcifs/dcerpc/msrpc/lsarpc.idl

    		[case(POLICY_INFO_DNS_DOMAIN)] LsarDnsDomainInfo dns_domain;
    	} LsarPolicyInfo;
    
    	typedef struct {
    		sid_t *sid;
    	} LsarSidPtr;
    
    	typedef struct {
    		[range(0,1000)] uint32_t num_sids;
    		[size_is(num_sids)] LsarSidPtr *sids;
    	} LsarSidArray;
    
    	typedef enum {
    		SID_NAME_USE_NONE = 0, /* NOTUSED */
    		SID_NAME_USER     = 1, /* user */
    		SID_NAME_DOM_GRP  = 2, /* domain group */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.1K bytes
    - Click Count (3)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.idl

    		[case(POLICY_INFO_DNS_DOMAIN)] LsarDnsDomainInfo dns_domain;
    	} LsarPolicyInfo;
    
    	typedef struct {
    		sid_t *sid;
    	} LsarSidPtr;
    
    	typedef struct {
    		[range(0,1000)] uint32_t num_sids;
    		[size_is(num_sids)] LsarSidPtr *sids;
    	} LsarSidArray;
    
    	typedef enum {
    		SID_NAME_USE_NONE = 0, /* NOTUSED */
    		SID_NAME_USER     = 1, /* user */
    		SID_NAME_DOM_GRP  = 2, /* domain group */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 3.1K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.idl

    			[in] uint32_t access_mask,
    			[in] uint32_t rid,
    			[out] policy_handle *alias_handle);
    
    	[op(0x21)]
    	int SamrGetMembersInAlias([in] policy_handle *alias_handle,
    			[out] LsarSidArray *sids);
    
    	typedef [v1_enum] enum {
    		SE_GROUP_MANDATORY          = 0x00000001,
    		SE_GROUP_ENABLED_BY_DEFAULT = 0x00000002,
    		SE_GROUP_ENABLED            = 0x00000004,
    		SE_GROUP_OWNER              = 0x00000008,
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 3.1K bytes
    - Click Count (0)
  10. src/main/java/jcifs/dcerpc/msrpc/samr.java

            public rpc.policy_handle alias_handle;
            /** The array of SIDs that are members of the alias */
            public lsarpc.LsarSidArray sids;
    
            /**
             * Constructs a SamrGetMembersInAlias request.
             *
             * @param alias_handle The alias handle
             * @param sids The array to receive member SIDs
             */
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 23.4K bytes
    - Click Count (0)
Back to Top