Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 97 for sid (0.01 sec)

  1. src/main/java/jcifs/internal/smb1/com/SmbComFindClose2.java

        private final int sid;
    
        /**
         * Creates a new SMB1 find close request to close a search handle.
         *
         * @param config the CIFS configuration
         * @param sid the search identifier to close
         */
        public SmbComFindClose2(final Configuration config, final int sid) {
            super(config, SMB_COM_FIND_CLOSE2);
            this.sid = sid;
        }
    
        @Override
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dtyp/ACETest.java

            assertEquals(0x001200A9, ace.getAccessMask());
        }
    
        @Test
        @DisplayName("Test getSID returns correct SID")
        void testGetSID() throws SmbException {
            assertNull(ace.getSID());
    
            SID testSid = new SID("S-1-5-21-1234567890-123456789-123456789-1000");
            ace.sid = testSid;
    
            assertSame(testSid, ace.getSID());
        }
    
        @Test
        @DisplayName("Test decode with offset")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SidResolver.java

         */
        SID[] getGroupMemberSids(CIFSContext tc, String authorityServerName, SID domsid, int rid, int flags) throws CIFSException;
    
        /**
         * Gets the domain SID for the specified server.
         *
         * @param authorityServerName the server name
         * @param tc the CIFS context to use
         * @return the server's SID
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/dcerpc/msrpc/LsarSidArrayX.java

    import jcifs.dcerpc.rpc.sid_t;
    import jcifs.smb.SID;
    
    class LsarSidArrayX extends lsarpc.LsarSidArray {
    
        LsarSidArrayX(final jcifs.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].unwrap(sid_t.class);
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.java

        /** SID name type: well-known group. */
        public static final int SID_NAME_WKN_GRP = 5;
        /** SID name type: deleted account. */
        public static final int SID_NAME_DELETED = 6;
        /** SID name type: invalid. */
        public static final int SID_NAME_INVALID = 7;
        /** SID name type: unknown. */
        public static final int SID_NAME_UNKNOWN = 8;
    
        /**
         * LSA translated SID structure for name to SID lookups.
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 42.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/Trans2FindNext2.java

    import jcifs.smb1.util.Hexdump;
    
    class Trans2FindNext2 extends SmbComTransaction {
    
        private final int sid, informationLevel;
        private int resumeKey;
        private final int flags;
        private String filename;
    
        Trans2FindNext2(final int sid, final int resumeKey, final String filename) {
            this.sid = sid;
            this.resumeKey = resumeKey;
            this.filename = filename;
            command = SMB_COM_TRANSACTION2;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/samr.java

             * @param access_mask The desired access rights
             * @param sid The SID of the domain
             * @param domain_handle The policy handle to receive the domain handle
             */
            public SamrOpenDomain(final rpc.policy_handle handle, final int access_mask, final rpc.sid_t sid,
                    final rpc.policy_handle domain_handle) {
                this.handle = handle;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/samr.java

             * @param access_mask The desired access rights
             * @param sid The SID of the domain
             * @param domain_handle The policy handle to receive the domain handle
             */
            public SamrOpenDomain(final rpc.policy_handle handle, final int access_mask, final rpc.sid_t sid,
                    final rpc.policy_handle domain_handle) {
                this.handle = handle;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/SmbResourceTest.java

                when(mockResource.getOwnerGroup(true)).thenReturn(mockSID);
    
                // When
                SID ownerUser1 = mockResource.getOwnerUser();
                SID ownerUser2 = mockResource.getOwnerUser(false);
                SID ownerGroup1 = mockResource.getOwnerGroup();
                SID ownerGroup2 = mockResource.getOwnerGroup(true);
    
                // Then
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  10. 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)
Back to top