- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 50 for sid (0.25 sec)
-
src/main/java/jcifs/SID.java
/** * SID type indicating a local group or alias. */ int SID_TYPE_ALIAS = 4; /** * SID type indicating a well-known group. */ int SID_TYPE_WKN_GRP = 5; /** * SID type indicating a deleted account. */ int SID_TYPE_DELETED = 6; /** * SID type indicating an invalid SID. */ int SID_TYPE_INVALID = 7; /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/SambaHelper.java
} /** * Gets the account ID from a SID. * @param sid The SID. * @return The account ID. */ public String getAccountId(final SID sid) { final int type = sid.getType(); if (logger.isDebugEnabled()) { try { logger.debug("Processing SID: {} {} {}", type, sid, sid.toDisplayString()); } catch (final Exception e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 4.3K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacSidAttributesTest.java
import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.Test; import jcifs.smb.SID; class PacSidAttributesTest { private SID sidMock; private PacSidAttributes pacSidAttributes; private final int attributes = 12345; @BeforeEach void setUp() { // Mock the SID object sidMock = mock(SID.class); // Create a new PacSidAttributes instance before each test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.6K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacGroup.java
*/ package jcifs.pac; import jcifs.smb.SID; /** * Represents a group membership entry in PAC logon information. * Contains a group SID and associated attributes. */ public class PacGroup { private final SID id; private final int attributes; /** * Constructs a PAC group entry. * @param id the group's Security Identifier (SID) * @param attributes the group membership attributes
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 1.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/Trans2FindNext2Test.java
assertTrue(s.contains(",sid=" + sid), "toString should include sid in decimal"); assertTrue(s.contains(",searchCount=" + Trans2FindFirst2.LIST_SIZE), "toString should include searchCount using LIST_SIZE"); assertTrue(s.contains(",informationLevel=0x104"), "toString should include information level 0x104");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.9K bytes - Viewed (0) -
src/main/java/jcifs/pac/PacDataInputStream.java
System.arraycopy(bytes, 0, sidBytes, 8, bytes.length); return new SID(sidBytes, 0); } /** * Reads a full Security Identifier (SID) structure. * @return the SID object * @throws IOException if an I/O error occurs * @throws PACDecodingException if the SID data is invalid */ public SID readSid() throws IOException, PACDecodingException { final int sidSize = readInt();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 8.9K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans2/Trans2FindFirst2Response.java
super(config, SMB_COM_TRANSACTION2, SmbComTransaction.TRANS2_FIND_FIRST2); } /** * Gets the search ID for this response. * * @return the sid */ public final int getSid() { return this.sid; } /** * Checks if this is the end of the search results. * * @return the isEndOfSearch */ public final boolean isEndOfSearch() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacGroupTest.java
import org.junit.jupiter.api.Test; import jcifs.smb.SID; /** * Tests for the {@link PacGroup} class. */ class PacGroupTest { private SID mockSid; private PacGroup pacGroup; private final int attributes = 42; @BeforeEach void setUp() { // Mock the SID object mockSid = mock(SID.class); pacGroup = new PacGroup(mockSid, attributes); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 1.5K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/SmbComFindClose2.java
package jcifs.smb1.smb1; class SmbComFindClose2 extends ServerMessageBlock { private final int sid; SmbComFindClose2(final int sid) { this.sid = sid; command = SMB_COM_FIND_CLOSE2; } @Override int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) { writeInt2(sid, dst, dstIndex); return 2; } @Override
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 1.7K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java
assertEquals(sidT1, lsarSidArrayX.sids[0].sid, "First SID should be unwrapped correctly"); assertEquals(sidT2, lsarSidArrayX.sids[1].sid, "Second SID should be unwrapped correctly"); } @Test void testConstructorWithJcifsSIDArrayDirectAssignment() { // Create mock SID objects SID mockSid1 = mock(SID.class); SID mockSid2 = mock(SID.class); SID[] sids = { mockSid1, mockSid2 };
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.1K bytes - Viewed (0)