Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 240 for sids (0.08 seconds)

  1. src/main/java/jcifs/smb1/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.1K bytes
    - Click Count (0)
  2. src/test/java/jcifs/SidResolverTest.java

        @Mock
        private SID mockSid1;
    
        @Mock
        private SID mockSid2;
    
        @Mock
        private SID mockSid3;
    
        @Mock
        private SID mockDomainSid;
    
        private String testServerName;
        private SID[] testSids;
    
        @BeforeEach
        void setUp() {
            testServerName = "test-server.domain.com";
            testSids = new SID[] { mockSid1, mockSid2, mockSid3 };
        }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 15.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/pac/PacConstants.java

         */
        int DEVICE_INFO_TYPE = 0xE;
        /**
         * Buffer type for device claims information.
         */
        int DEVICE_CLAIMS_TYPE = 0xF;
    
        /**
         * Flag for extra SIDs in logon information.
         */
        int LOGON_EXTRA_SIDS = 0x20;
        /**
         * Flag for resource groups in logon information.
         */
        int LOGON_RESOURCE_GROUPS = 0x200;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  4. src/test/java/jcifs/MsrpcGetMembersInAliasTest.java

            // Then
            assertNotNull(msrpcGetMembersInAlias, "MsrpcGetMembersInAlias object should not be null");
            assertEquals(mockSids, msrpcGetMembersInAlias.sids, "sids should be set correctly");
            assertEquals(0, msrpcGetMembersInAlias.getPtype(), "ptype should be initialized to 0");
            assertEquals(DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG, msrpcGetMembersInAlias.getFlags(),
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. src/main/java/jcifs/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: Sun Jul 01 13:12:10 GMT 2018
    - 3.1K bytes
    - Click Count (0)
  6. 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;
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  7. 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);
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SIDTest.java

                // Assert
                assertEquals("S-1-5-21-1-2-3-1029", sid.toString());
                assertEquals(1029, sid.getRid());
            }
    
            @Test
            @DisplayName("Relative constructor with SID appends all subauthorities of relative SID")
            void testRelativeConstructorWithSid() throws Exception {
                // Arrange
                SID dom = new SID("S-1-5-21");
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.8K bytes
    - Click Count (0)
  9. 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;
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 28K bytes
    - Click Count (1)
  10. 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) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
Back to Top