Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 105 for Sid (0.01 sec)

  1. src/main/java/jcifs/internal/smb1/trans2/Trans2FindNext2.java

         * @param batchSize the maximum size of the response buffer
         */
        public Trans2FindNext2(final Configuration config, final int sid, final int resumeKey, final String filename, final int batchCount,
                final int batchSize) {
            super(config, SMB_COM_TRANSACTION2, TRANS2_FIND_NEXT2);
            this.sid = sid;
            this.resumeKey = resumeKey;
            this.filename = filename;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/dtyp/SecurityDescriptorTest.java

            // Owner SID offset
            if (includeOwner) {
                SMBUtil.writeInt4(currentOffset, buffer, offset + 4);
                prepareSimpleSid(buffer, offset + currentOffset);
                currentOffset += 20; // Simple SID size
            } else {
                SMBUtil.writeInt4(0, buffer, offset + 4);
            }
    
            // Group SID offset
            if (includeGroup) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/ACE.java

         * @return the access mask for this ACE
         */
        public int getAccessMask() {
            return access;
        }
    
        /**
         * Return the SID associated with this ACE.
         * @return the SID for this ACE
         */
        public SID getSID() {
            return sid;
        }
    
        int decode(final byte[] buf, int bi) {
            allow = buf[bi] == (byte) 0x00;
            bi++;
            flags = buf[bi++] & 0xFF;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SecurityDescriptor.java

            bufferIndex += 2;
            final int ownerUOffset = ServerMessageBlock.readInt4(buffer, bufferIndex); // offset to owner sid
            bufferIndex += 4;
            final int ownerGOffset = ServerMessageBlock.readInt4(buffer, bufferIndex); // offset to group sid
            bufferIndex += 4;
            final int saclOffset = ServerMessageBlock.readInt4(buffer, bufferIndex); // offset to sacl
            bufferIndex += 4;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/smb1/trans2/Trans2FindFirst2ResponseTest.java

            int result = response.readParametersWireFormat(buffer, 0, 8);
    
            // Should read 8 bytes (no sid for FIND_NEXT)
            assertEquals(8, result);
            assertEquals(3, response.getNumEntries());
            assertFalse(response.isEndOfSearch());
            assertEquals(0, response.getSid()); // sid should remain 0
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. src/test/java/jcifs/pac/PacDataInputStreamTest.java

            byte[] data = new byte[] { 0x78, 0x56, 0x34, 0x12 };
            PacDataInputStream pdis = createInputStream(data);
            SID sid = pdis.readId();
            // The readId method creates a SID with authority 5 and the RID value
            // Expected format: S-1-5-305419896
            String sidString = sid.toString();
            assertNotNull(sidString);
            assertEquals("S-1-5-305419896", sidString);
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  9. 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];
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 409 bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/dcerpc/msrpc/MsrpcLookupSids.java

     */
    
    package jcifs.smb1.dcerpc.msrpc;
    
    import jcifs.smb1.smb1.SID;
    
    /**
     * MSRPC implementation for looking up security identifiers (SIDs).
     * This class provides functionality to resolve SIDs to their corresponding
     * account names using the LSA RPC interface.
     */
    public class MsrpcLookupSids extends lsarpc.LsarLookupSids {
    
        SID[] sids;
    
        /**
         * Creates a new request to lookup SIDs.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.7K bytes
    - Viewed (0)
Back to top