Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 16 of 16 for serverPath (0.04 sec)

  1. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

            when(mockNegotiate.getNegotiatedMpxCount()).thenReturn(65535);
            when(mockNegotiate.getNegotiatedSessionKey()).thenReturn(0x12345678);
        }
    
        /** Simple test stub of {@link ServerData} */
        private static class ServerDataStub extends ServerData {
            public ServerDataStub() {
                this.security = SmbConstants.SECURITY_USER;
                this.encryptedPasswords = false;
                this.encryptionKey = new byte[0];
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTransportImplTest.java

    import jcifs.SmbConstants;
    import jcifs.SmbTransport;
    import jcifs.internal.CommonServerMessageBlockRequest;
    import jcifs.internal.SMBSigningDigest;
    import jcifs.internal.SmbNegotiationResponse;
    import jcifs.internal.smb1.com.ServerData;
    import jcifs.internal.smb1.com.SmbComNegotiateResponse;
    import jcifs.internal.smb2.Smb2Constants;
    import jcifs.internal.smb2.Smb2EncryptionContext;
    import jcifs.internal.smb2.nego.EncryptionNegotiateContext;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

        private final boolean disconnectTid = false;
        private final String service;
        private byte[] password;
        private int passwordLength;
        private final CIFSContext ctx;
        private final ServerData server;
    
        /**
         * Constructs a tree connect AndX request to establish a connection to a shared resource.
         *
         * @param ctx the CIFS context containing configuration
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTransport.java

        long sessionExpiration = System.currentTimeMillis() + SO_TIMEOUT;
        LinkedList referrals = new LinkedList();
        SigningDigest digest = null;
        LinkedList sessions = new LinkedList();
        ServerData server = new ServerData();
        /* Negotiated values */
        int flags2 = FLAGS2;
        int maxMpxCount = MAX_MPX_COUNT;
        int snd_buf_size = SND_BUF_SIZE;
        int rcv_buf_size = RCV_BUF_SIZE;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

        void getServerTimeZoneOffsetSmb1() throws Exception {
            // Uses concrete SMB1 negotiate response to exercise SMB1-specific branch
            // Build a concrete SMB1 negotiate response to expose ServerData fields
            jcifs.CIFSContext ctx = mock(jcifs.CIFSContext.class);
            when(ctx.getConfig()).thenReturn(config);
            when(config.getCapabilities()).thenReturn(0);
            when(config.getFlags2()).thenReturn(0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

            super(tc.getConfig(), SMB_COM_SESSION_SETUP_ANDX, andx);
            this.negotiated = negotiated;
            this.capabilities = negotiated.getNegotiatedCapabilities();
            final ServerData server = negotiated.getServerData();
            if (server.security == SmbConstants.SECURITY_USER) {
                if (cred instanceof final NtlmPasswordAuthenticator a) {
                    if (a.isAnonymous()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
Back to top