Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for SMB_COM_SESSION_SETUP_ANDX (0.16 sec)

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

            setupAndX = new SmbComSessionSetupAndX(mockSession, mockAndx, mockAuth);
        }
    
        @Test
        void testConstructor() {
            assertNotNull(setupAndX);
            assertEquals(ServerMessageBlock.SMB_COM_SESSION_SETUP_ANDX, setupAndX.command);
            assertEquals(mockSession, setupAndX.session);
            assertEquals(mockAuth, setupAndX.cred);
        }
    
        @Test
        void testConstructorWithAnonymousAuth() throws Exception {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/ServerMessageBlockTest.java

                        ServerMessageBlock.SMB_COM_TRANSACTION_SECONDARY, ServerMessageBlock.SMB_COM_FIND_CLOSE2,
                        ServerMessageBlock.SMB_COM_TREE_DISCONNECT, ServerMessageBlock.SMB_COM_SESSION_SETUP_ANDX,
                        ServerMessageBlock.SMB_COM_LOGOFF_ANDX, ServerMessageBlock.SMB_COM_ECHO, ServerMessageBlock.SMB_COM_MOVE,
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 36.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/ServerMessageBlock.java

        }
    
        @Override
        public String toString() {
            String c = switch (command) {
            case SMB_COM_NEGOTIATE -> "SMB_COM_NEGOTIATE";
            case SMB_COM_SESSION_SETUP_ANDX -> "SMB_COM_SESSION_SETUP_ANDX";
            case SMB_COM_TREE_CONNECT_ANDX -> "SMB_COM_TREE_CONNECT_ANDX";
            case SMB_COM_QUERY_INFORMATION -> "SMB_COM_QUERY_INFORMATION";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.7K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

             * the SMB_COM_SESSION_SETUP_ANDX Response (section 2.2.4.53.2), MUST be set to
             * 0x0000000000000000. For the SMB_COM_SESSION_SETUP_ANDX Response, the SecuritySignature
             * field of the SMB Header SHOULD<226> be set to the SecuritySignature received in the
             * SMB_COM_SESSION_SETUP_ANDX Request (section 2.2.4.53.1).
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbComSessionSetupAndX.java

        SmbSession session;
        Object cred;
    
        SmbComSessionSetupAndX(final SmbSession session, final ServerMessageBlock andx, final Object cred) throws SmbException {
            super(andx);
            command = SMB_COM_SESSION_SETUP_ANDX;
            this.session = session;
            this.cred = cred;
    
            sessionKey = session.transport.sessionKey;
            capabilities = session.transport.capabilities;
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                final Object cred) throws SmbException, GeneralSecurityException {
            super(tc.getConfig(), SMB_COM_SESSION_SETUP_ANDX, andx);
            this.negotiated = negotiated;
            this.capabilities = negotiated.getNegotiatedCapabilities();
            final ServerData server = negotiated.getServerData();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbSession.java

                    }
    
                    /* We explicitly set uid to 0 here to prevent a new
                     * SMB_COM_SESSION_SETUP_ANDX from having it's uid set to an
                     * old value when the session is re-established. Otherwise a
                     * "The parameter is incorrect" error can occur.
                     */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbSessionImpl.java

                        }
    
                        /*
                         * We explicitly set uid to 0 here to prevent a new
                         * SMB_COM_SESSION_SETUP_ANDX from having it's uid set to an
                         * old value when the session is re-established. Otherwise a
                         * "The parameter is incorrect" error can occur.
                         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
Back to top