Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 176 for scapabilities (0.17 sec)

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

            this.tx_buf_size = Math.min(this.tx_buf_size, this.server.maxBufferSize);
    
            this.capabilities &= this.server.scapabilities;
            if ((this.server.scapabilities & SmbConstants.CAP_EXTENDED_SECURITY) == SmbConstants.CAP_EXTENDED_SECURITY) {
                this.capabilities |= SmbConstants.CAP_EXTENDED_SECURITY; // & doesn't copy high bit
            }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComNegotiateResponseTest.java

            assertEquals(0x80, response.getServerData().scapabilities);
            assertEquals(-128, response.getServerData().serverTimeZone);
            assertEquals(8, response.getServerData().encryptionKeyLength);
        }
    
        @Test
        public void testReadBytesWireFormatWithoutExtendedSecurity() throws UnsupportedEncodingException {
            response.getServerData().scapabilities = 0;
            response.getServerData().encryptionKeyLength = 8;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb1/com/ServerDataTest.java

            serverData.scapabilities = Integer.MAX_VALUE;
    
            assertEquals(Integer.MAX_VALUE, serverData.sflags2);
            assertEquals(Integer.MAX_VALUE, serverData.smaxMpxCount);
            assertEquals(Integer.MAX_VALUE, serverData.maxBufferSize);
            assertEquals(Integer.MAX_VALUE, serverData.sessKey);
            assertEquals(Integer.MAX_VALUE, serverData.scapabilities);
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/com/ServerData.java

         */
        public int maxBufferSize;
        /**
         * Session key for this connection.
         */
        public int sessKey;
        /**
         * Server capabilities bitmap.
         */
        public int scapabilities;
        /**
         * OEM domain name of the server.
         */
        public String oemDomainName;
        /**
         * Security mode flags.
         */
        public int securityMode;
        /**
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponse.java

            // Default constructor
        }
    
        private int capabilities;
        private final byte[] serverGuid = new byte[16];
        private int securityMode;
        private int dialect;
    
        /**
         * Gets the server capabilities
         *
         * @return the capabilities flags from the server
         */
        public int getCapabilities() {
            return this.capabilities;
        }
    
        /**
         * Gets the server GUID
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComNegotiateResponseTest.java

            buffer.putInt(8192); // maxBufferSize
            buffer.putInt(65536); // maxRawSize
            buffer.putInt(123456789); // sessionKey
            buffer.putInt(SmbConstants.CAP_UNICODE | SmbConstants.CAP_NT_SMBS); // capabilities
            buffer.putLong(new Date().getTime()); // serverTime
            buffer.putShort((short) -480); // serverTimeZone
            buffer.put((byte) 8); // encryptionKeyLength
    
            byte[] paramWords = buffer.array();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoRequest.java

     */
    public class ValidateNegotiateInfoRequest implements Encodable {
    
        private final int capabilities;
        private final byte[] clientGuid;
        private final int securityMode;
        private final int dialects[];
    
        /**
         * Constructs a ValidateNegotiateInfo request
         *
         * @param capabilities
         *            the client capabilities flags
         * @param clientGuid
         *            the client GUID
         * @param securityMode
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbComNegotiateResponse.java

                    + ",maxRawSize=" + server.maxRawSize + ",sessionKey=0x" + Hexdump.toHexString(server.sessionKey, 8) + ",capabilities=0x"
                    + Hexdump.toHexString(server.capabilities, 8) + ",serverTime=" + new Date(server.serverTime) + ",serverTimeZone="
                    + server.serverTimeZone + ",encryptionKeyLength=" + server.encryptionKeyLength + ",byteCount=" + byteCount
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            }
            snd_buf_size = Math.min(snd_buf_size, server.maxBufferSize);
            capabilities &= server.capabilities;
            if ((server.capabilities & CAP_EXTENDED_SECURITY) == CAP_EXTENDED_SECURITY) {
                capabilities |= CAP_EXTENDED_SECURITY; // & doesn't copy high bit
            }
    
            if ((capabilities & SmbConstants.CAP_UNICODE) == 0) {
                // server doesn't want unicode
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/session/Smb2SessionSetupRequest.java

         * @param capabilities
         *            the client capabilities
         * @param previousSessionid
         *            the previous session ID for reconnection (or 0 for new session)
         * @param token
         *            the security token for authentication
         */
        public Smb2SessionSetupRequest(final CIFSContext context, final int securityMode, final int capabilities, final long previousSessionid,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.8K bytes
    - Viewed (0)
Back to top