- Sort Score
- Num 10 results
- Language All
Results 11 - 20 of 24 for Setdomainname (0.17 seconds)
-
src/test/java/jcifs/pac/PacLogonInfoTest.java
PacLogonInfo logonInfo = mock(PacLogonInfo.class); // Setup mock responses when(logonInfo.getUserName()).thenReturn(TEST_USERNAME); when(logonInfo.getDomainName()).thenReturn(TEST_DOMAIN); when(logonInfo.getServerName()).thenReturn(TEST_SERVER); when(logonInfo.getLogonTime()).thenReturn(new Date()); when(logonInfo.getLogoffTime()).thenReturn(new Date());
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 12.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/SID.java
* * <pre> * toString: S-1-5-21-4133388617-793952518-2001621813-512 * toDisplayString: WNET\Domain Admins * getType: 2 * getTypeText: Domain group * getDomainName: WNET * getAccountName: Domain Admins * </pre> * * * <p>This section is intended for internal use.</p> */ public class SID extends rpc.sid_t implements jcifs.SID {
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 16K bytes - Click Count (0) -
src/main/java/jcifs/smb/SIDCacheImpl.java
* @param sids * The SIDs that should be resolved. After this function is called, the names associated with the SIDs * may be queried with the <code>toDisplayString</code>, <code>getDomainName</code>, and <code>getAccountName</code> * methods. */ @Override public void resolveSids(final CIFSContext tc, final String authorityServerName, final jcifs.SID[] sids) throws CIFSException {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Mon Aug 25 14:34:10 GMT 2025 - 13.6K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbTreeHandleImplTest.java
SmbComNegotiateResponse nego = new SmbComNegotiateResponse(ctx); // Set server timezone (in minutes) and domain nego.getServerData().serverTimeZone = 60; // 60 minutes nego.getServerData().oemDomainName = "DOMAIN"; when(transport.getNegotiateResponse()).thenReturn(nego); assertEquals(60L * 1000L * 60L, handle.getServerTimeZoneOffset()); assertEquals("DOMAIN", handle.getOEMDomainName());Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
src/main/java/jcifs/internal/smb1/com/ServerData.java
*/ public int sessKey; /** * Server capabilities bitmap. */ public int scapabilities; /** * OEM domain name of the server. */ public String oemDomainName; /** * Security mode flags. */ public int securityMode; /** * Security settings for the session. */ public int security; /**Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.9K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SID.java
* <pre> * toString: S-1-5-21-4133388617-793952518-2001621813-512 * toDisplayString: WNET\Domain Admins * getType: 2 * getTypeText: Domain group * getDomainName: WNET * getAccountName: Domain Admins * </pre> */ public class SID extends rpc.sid_t { /** * SID type indicating no type information. */
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 31.5K bytes - Click Count (0) -
src/main/java/jcifs/SidResolver.java
* @param sids * The SIDs that should be resolved. After this function is called, the names associated with the SIDs * may be queried with the <code>toDisplayString</code>, <code>getDomainName</code>, and <code>getAccountName</code> * methods. * @throws CIFSException if there is an error resolving the SIDs */Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.2K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeHandleImpl.java
final SmbNegotiationResponse nego = transport.getNegotiateResponse(); if (nego instanceof SmbComNegotiateResponse) { return ((SmbComNegotiateResponse) nego).getServerData().oemDomainName; } return null; } } /** * {@inheritDoc} * * @see jcifs.SmbTreeHandle#getTreeType() */ @Override
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.1K bytes - Click Count (0) -
src/main/java/jcifs/pac/PacLogonInfo.java
*/ public String getServerName() { return this.serverName; } /** * Returns the user's domain name. * @return the domain name */ public String getDomainName() { return this.domainName; } /** * Returns the user's Security Identifier (SID). * @return the user SID */ public SID getUserSid() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 14.3K bytes - Click Count (0) -
src/test/java/jcifs/SIDTest.java
SID sid = new SID(rpcSid, SID.SID_TYPE_WKN_GRP, "BUILTIN", "Administrators", false); assertEquals(SID.SID_TYPE_WKN_GRP, sid.getType()); assertEquals("BUILTIN", sid.getDomainName()); assertEquals("Administrators", sid.getAccountName()); assertEquals(adminSidString, sid.toString()); } /** * Test converting a SID to a byte array. */ @TestCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 13.5K bytes - Click Count (0)