Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 95 for SmbException (0.18 sec)

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

        private int signSequence;
    
        public SigningDigest(byte[] macSigningKey, boolean bypass) throws SmbException {
            try {
                digest = MessageDigest.getInstance("MD5");
            } catch (NoSuchAlgorithmException ex) {
                if( log.level > 0 )
                    ex.printStackTrace( log );
                throw new SmbException( "MD5", ex );
            }
    
            this.macSigningKey = macSigningKey;
            this.bypass = bypass;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/ConcurrencyTest.java

                        log.debug("Open2");
                    }
                    catch ( IOException e ) {
                        if ( e instanceof SmbException && ( (SmbException) e ).getNtStatus() == NtStatus.NT_STATUS_SHARING_VIOLATION ) {
                            this.completed = true;
                            return;
                        }
                        throw e;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:40:50 UTC 2021
    - 17.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFileInputStream.java

         * @throws SmbException
         */
        public SmbFileInputStream ( SmbFile file ) throws SmbException {
            this(file, 0, SmbConstants.O_RDONLY, SmbConstants.DEFAULT_SHARING, false);
        }
    
    
        SmbFileInputStream ( SmbFile file, int openFlags, int access, int sharing, boolean unshared ) throws SmbException {
            this.file = file;
            this.unsharedFile = unshared;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 08:55:14 UTC 2020
    - 13.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeHandleInternal.java

    
    /**
     * @author mbechler
     *
     */
    public interface SmbTreeHandleInternal extends SmbTreeHandle {
    
        /**
         * 
         */
        void release ();
    
    
        /**
         * 
         * @throws SmbException
         * @throws CIFSException
         */
        void ensureDFSResolved () throws CIFSException;
    
    
        /**
         * @param cap
         * @return whether the capabiltiy is present
         * @throws CIFSException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/NtlmContext.java

                        state++;
                        break;
                    } catch (Exception e) {
                        throw new SmbException(e.getMessage(), e);
                    }
                default:
                    throw new SmbException("Invalid state");
            }
            return token;
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 5.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/SamrPolicyHandle.java

    package jcifs.dcerpc.msrpc;
    
    
    import java.io.IOException;
    
    import jcifs.dcerpc.DcerpcError;
    import jcifs.dcerpc.DcerpcException;
    import jcifs.dcerpc.DcerpcHandle;
    import jcifs.dcerpc.rpc;
    import jcifs.smb.SmbException;
    
    
    @SuppressWarnings ( "javadoc" )
    public class SamrPolicyHandle extends rpc.policy_handle implements AutoCloseable {
    
        private final DcerpcHandle handle;
        private boolean opened;
    
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbTree.java

                                break;
                            default:
                                throw new SmbException( "Invalid operation for " + service + " service" );
                        }
                        break;
                    default:
                        throw new SmbException( "Invalid operation for " + service + " service" + request );
                }
            }
            request.tid = tid;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTransportImpl.java

        }
    
    
        @Override
        public boolean hasCapability ( int cap ) throws SmbException {
            return getNegotiateResponse().haveCapabilitiy(cap);
        }
    
    
        /**
         * @return the negotiated
         * @throws SmbException
         */
        SmbNegotiationResponse getNegotiateResponse () throws SmbException {
            try {
                if ( this.negotiated == null ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 18 23:47:00 UTC 2023
    - 67K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/ReadWriteTest.java

    import org.junit.runners.Parameterized.Parameters;
    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    import jcifs.SmbPipeHandle;
    import jcifs.SmbPipeResource;
    import jcifs.smb.SmbException;
    import jcifs.smb.SmbFile;
    import jcifs.smb.SmbNamedPipe;
    import jcifs.smb.SmbRandomAccessFile;
    
    
    /**
     * @author mbechler
     *
     */
    @RunWith ( Parameterized.class )
    @SuppressWarnings ( "javadoc" )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 13.2K bytes
    - Viewed (0)
  10. src/main/java/jcifs/http/NtlmHttpFilter.java

                    }
                }
                return new NtlmChallenge(trans.getServerEncryptionKey(), dc);
            }
            catch ( SmbException e ) {
                throw e;
            }
            catch ( IOException e ) {
                throw new SmbException("Connection failed", e);
            }
        }
    
    
        /**
         * @return
         */
        private CIFSContext getTransportContext () {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.8K bytes
    - Viewed (0)
Back to top