- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 32 for sid_t (0.03 sec)
-
src/test/java/jcifs/SIDTest.java
} /** * Test the internal constructor. */ @Test void testInternalConstructor() { rpc.sid_t rpcSid = new rpc.sid_t(); rpcSid.revision = 1; rpcSid.sub_authority_count = 2; rpcSid.identifier_authority = new byte[] { 0, 0, 0, 0, 0, 5 }; rpcSid.sub_authority = new int[] { 32, 544 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/lsarpcIntegrationTest.java
sidArray.sids[0].sid = new rpc.sid_t(); sidArray.sids[0].sid.revision = 1; sidArray.sids[0].sid.identifier_authority = new byte[] { 0, 0, 0, 0, 0, 5 }; sidArray.sids[0].sid.sub_authority_count = 1; sidArray.sids[0].sid.sub_authority = new int[] { 500 }; sidArray.sids[1] = new lsarpc.LsarSidPtr(); sidArray.sids[1].sid = new rpc.sid_t(); sidArray.sids[1].sid.revision = 1;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/MsrpcLookupSidsTest.java
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 }; // Act
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.6K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/rpcTest.java
class SidTests { @Test @DisplayName("Should encode SID correctly") void testSidTEncode() throws NdrException { // Given: A SID with test values rpc.sid_t sid = new rpc.sid_t(); sid.revision = (byte) 1; sid.sub_authority_count = (byte) 2; sid.identifier_authority = new byte[] { (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 5 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.5K bytes - Viewed (0) -
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) -
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) -
src/main/java/jcifs/dcerpc/msrpc/LsarSidArrayX.java
* License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ package jcifs.dcerpc.msrpc; 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];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.5K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java
import jcifs.dcerpc.rpc.sid_t; import jcifs.smb.SID; class LsarSidArrayXTest { @Test void testConstructorWithJcifsSIDArrayAndUnwrap() { // Create mock SID objects SID mockSid1 = mock(SID.class); SID mockSid2 = mock(SID.class); // Mock the unwrap method to return a sid_t instance sid_t sidT1 = new sid_t(); sid_t sidT2 = new sid_t();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/msrpc/lsarpc.java
public LsarDomainInfo() { // Default constructor } /** Domain name. */ public rpc.unicode_string name; /** Domain security identifier. */ public rpc.sid_t sid; @Override public void encode(NdrBuffer _dst) throws NdrException { _dst.align(4); _dst.enc_ndr_short(this.name.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 44.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/rpc.java
* Security Identifier (SID) structure for DCE/RPC. * Represents a Windows security identifier used in RPC operations. */ public static class sid_t extends NdrObject { /** * Default constructor for sid_t. */ public sid_t() { // Default constructor } /** * The revision level of the SID structure. */
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 11.2K bytes - Viewed (0)