Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 39 for SmbException (0.11 sec)

  1. src/main/java/jcifs/smb/SmbRandomAccessFile.java

         * @param file
         * @param mode
         * @throws SmbException
         */
        public SmbRandomAccessFile ( SmbFile file, String mode ) throws SmbException {
            this(file, mode, SmbConstants.DEFAULT_SHARING, false);
        }
    
    
        /**
         * Instantiate a random access file from a {@link SmbFile}
         * 
         * @param file
         * @param mode
         * @throws SmbException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 08 12:01:33 UTC 2020
    - 18.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            if((read( tmp, 0, 4 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return Encdec.dec_uint32be( tmp, 0 );
        }
        public final long readLong() throws SmbException {
            if((read( tmp, 0, 8 )) < 0 ) {
                throw new SmbException( "EOF" );
            }
            return Encdec.dec_uint64be( tmp, 0 );
        }
        public final float readFloat() throws SmbException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTreeImpl.java

         * @param transport
         * @return
         * @throws SmbException
         */
        private int waitForState ( SmbTransportImpl transport ) throws SmbException {
            int cs;
            while ( ( cs = this.connectionState.get() ) != 0 ) {
                if ( cs == 2 ) {
                    return cs;
                }
                if ( cs == 3 ) {
                    throw new SmbException("Disconnecting during tree connect");
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbSession.java

            }
            return new NtlmChallenge( trans.server.encryptionKey, dc );
        }
        public static NtlmChallenge getChallengeForDomain()
                    throws SmbException, UnknownHostException {
            if( DOMAIN == null ) {
                throw new SmbException( "A domain was not specified" );
            }
    synchronized (DOMAIN) {
                long now = System.currentTimeMillis();
                int retry = 1;
    
                do {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeConnection.java

         * @return tree handle
         * @throws SmbException
         */
        public SmbTreeHandleImpl connectWrapException ( SmbResourceLocatorImpl loc ) throws SmbException {
            try {
                return connect(loc);
            }
            catch ( UnknownHostException uhe ) {
                throw new SmbException("Failed to connect to server", uhe);
            }
            catch ( SmbException se ) {
                throw se;
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

                return trans.getServerEncryptionKey();
            }
            catch ( SmbException e ) {
                throw e;
            }
            catch ( IOException e ) {
                throw new SmbException("Connection failed", e);
            }
        }
    
    
        @Override
        public void logon ( CIFSContext tf, Address dc ) throws SmbException {
            logon(tf, dc, 0);
        }
    
    
        @Override
        @Deprecated
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/Kerb5Context.java

                    throw new SmbException("Failed to query Kerberos session key from ExtendedGSSContext", ex);
                }
            }
            throw new SmbException("ExtendedGSSContext is not implemented by GSSContext");
        }
    
    
        @Override
        public byte[] initSecContext ( byte[] token, int off, int len ) throws SmbException {
            try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Aug 02 08:22:42 UTC 2018
    - 13.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbEnumerationUtil.java

            FileEntry[] entries;
    
            if ( u.getPath().lastIndexOf('/') != ( u.getPath().length() - 1 ) )
                throw new SmbException(u.toString() + " directory must end with '/'");
    
            if ( locator.getType() != SmbConstants.TYPE_SERVER )
                throw new SmbException("The requested list operations is invalid: " + u.toString());
    
            Set<FileEntry> set = new HashSet<>();
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:41:19 UTC 2019
    - 12.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbTransport.java

                default:
                    throw new SmbException( resp.errorCode, null );
            }
            if (resp.verifyFailed) {
                throw new SmbException( "Signature verification failed." );
            }
        }
        void send( ServerMessageBlock request, ServerMessageBlock response ) throws SmbException {
    
            connect(); /* must negotiate before we can test flags2, useUnicode, etc */
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/NtlmContext.java

            switch ( this.state ) {
            case 1:
                return makeNegotiate(token);
            case 2:
                return makeAuthenticate(token);
            default:
                throw new SmbException("Invalid state");
            }
        }
    
    
        protected byte[] makeAuthenticate ( byte[] token ) throws SmbException {
            try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 12:07:20 UTC 2020
    - 15.7K bytes
    - Viewed (0)
Back to top