Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 15 of 15 for serverPath (0.33 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

    import jcifs.smb1.util.Hexdump;
    import jcifs.smb1.util.LogStream;
    
    class SmbComNegotiateResponse extends ServerMessageBlock {
    
        int dialectIndex;
        SmbTransport.ServerData server;
    
        SmbComNegotiateResponse(final SmbTransport.ServerData server) {
            this.server = server;
        }
    
        @Override
        int writeParameterWordsWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K 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: Sat Dec 20 13:44:44 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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
Back to top