Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 224 for sids (0.02 sec)

  1. 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) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  2. 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");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. 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)
  4. 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;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  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/main/java/org/codelibs/fess/helper/PermissionHelper.java

                if (responseData.getUrl().startsWith("smb:")) {
                    final SID[] allowedSids = (SID[]) metaDataMap.get(SmbClient.SMB_ALLOWED_SID_ENTRIES);
                    if (allowedSids != null) {
                        for (final SID sid : allowedSids) {
                            final String accountId = sambaHelper.getAccountId(sid);
                            if (accountId != null) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb1/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.6K bytes
    - Viewed (0)
  8. src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java

            // Arrange
            jcifs.SID mockSid1 = mock(jcifs.SID.class);
            jcifs.SID mockSid2 = mock(jcifs.SID.class);
            jcifs.SID mockSid3 = mock(jcifs.SID.class);
            when(mockSid1.unwrap(sid_t.class)).thenReturn(mockSidT);
            when(mockSid2.unwrap(sid_t.class)).thenReturn(mockSidT);
            when(mockSid3.unwrap(sid_t.class)).thenReturn(mockSidT);
            testSids = new jcifs.SID[] { mockSid1, mockSid2, mockSid3 };
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/PacLogonInfoTest.java

        private static final String TEST_DOMAIN = "TESTDOMAIN";
        private static final String TEST_SERVER = "SERVER01";
    
        private SID domainSid;
        private SID userSid;
    
        @BeforeEach
        void setUp() throws Exception {
            domainSid = new SID("S-1-5-21-1-2-3");
            userSid = new SID("S-1-5-21-1-2-3-1000");
        }
    
        private void writeLittleEndianShort(DataOutputStream dos, short value) throws IOException {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFile.java

                    server = server + ":" + this.fileLocator.getPort();
                }
                final SID[] sids = new SID[aces.length];
                for (ai = 0; ai < aces.length; ai++) {
                    sids[ai] = aces[ai].getSID();
                }
    
                for (int off = 0; off < sids.length; off += 64) {
                    int len = sids.length - off;
                    if (len > 64) {
                        len = 64;
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top