Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 95 for sid (0.01 sec)

  1. 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)
  2. 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)
  3. 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)
  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];
            }
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 409 bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/jcifs/dcerpc/msrpc/lsarpc.idl

    		LsarQosInfo *security_quality_of_service;
    	} LsarObjectAttributes;
    
    	typedef struct {
    		unicode_string name;
    		sid_t *sid;
    	} LsarDomainInfo;
    
    	typedef struct {
    		unicode_string name;
    		unicode_string dns_domain;
    		unicode_string dns_forest;
    		uuid_t domain_guid;
    		sid_t *sid;
    	} LsarDnsDomainInfo;
    
    	enum {
    		POLICY_INFO_AUDIT_EVENTS   = 2,
    		POLICY_INFO_PRIMARY_DOMAIN = 3,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.1K bytes
    - Viewed (3)
  7. src/main/java/jcifs/smb1/dcerpc/msrpc/lsarpc.idl

    		LsarQosInfo *security_quality_of_service;
    	} LsarObjectAttributes;
    
    	typedef struct {
    		unicode_string name;
    		sid_t *sid;
    	} LsarDomainInfo;
    
    	typedef struct {
    		unicode_string name;
    		unicode_string dns_domain;
    		unicode_string dns_forest;
    		uuid_t domain_guid;
    		sid_t *sid;
    	} LsarDnsDomainInfo;
    
    	enum {
    		POLICY_INFO_AUDIT_EVENTS   = 2,
    		POLICY_INFO_PRIMARY_DOMAIN = 3,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Fri Mar 22 20:39:42 UTC 2019
    - 3.1K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/jcifs/ACE.java

     * "The .NET Developer's Guide to Windows Security" (which is also
     * available online).
     * <p>
     * Direct ACEs are evaluated first in order. The SID of the user performing
     * the operation and the desired access bits are compared to the SID
     * and access mask of each ACE. If the SID matches, the allow/deny flags
     * and access mask are considered. If the ACE is a "deny"
     * ACE and <i>any</i> of the desired access bits match bits in the access
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/msrpc/lsarpcTest.java

            domainInfo.name = new rpc.unicode_string(); // Use real object
            domainInfo.name.buffer = null; // Null buffer
            domainInfo.sid = null; // Null SID
    
            domainInfo.encode(mockNdrBuffer);
    
            verify(mockNdrBuffer, times(2)).enc_ndr_referent(null, 1); // name.buffer and sid
            verify(mockDeferredNdrBuffer, never()).enc_ndr_long(anyInt());
            verify(mockDeferredNdrBuffer, never()).enc_ndr_short(anyShort());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 60.8K bytes
    - Viewed (0)
Back to top