Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 95 for SmbException (0.12 sec)

  1. 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)
  2. src/main/java/jcifs/smb/SmbFileHandleImpl.java

        /**
         * @return the fid
         * @throws SmbException
         */
        public int getFid () throws SmbException {
            if ( !isValid() ) {
                throw new SmbException("Descriptor is no longer valid");
            }
            return this.fid;
        }
    
    
        public byte[] getFileId () throws SmbException {
            if ( !isValid() ) {
                throw new SmbException("Descriptor is no longer valid");
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 8.6K bytes
    - Viewed (1)
  3. 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)
  4. src/main/java/jcifs/smb1/smb1/SmbFileInputStream.java

     *
     * @param file An <code>SmbFile</code> specifying the file to read from
     */
    
        public SmbFileInputStream( SmbFile file ) throws SmbException, MalformedURLException, UnknownHostException {
            this( file, SmbFile.O_RDONLY );
        }
    
        SmbFileInputStream( SmbFile file, int openFlags ) throws SmbException, MalformedURLException, UnknownHostException {
            this.file = file;
            this.openFlags = openFlags & 0xFFFF;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 7.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeInternal.java

    
    /**
     * @author mbechler
     * @internal
     */
    public interface SmbTreeInternal extends SmbTree {
    
        /**
         * @param tf
         * @throws SmbException
         */
        @Deprecated
        void connectLogon ( CIFSContext tf ) throws SmbException;
    
    
        /**
         * @param request
         * @param params
         * @return response message
         * @throws CIFSException
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:08:49 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponse.java

        /**
         * @param responseType
         * @return decoded data
         * @throws SmbException
         */
        @SuppressWarnings ( "unchecked" )
        public <T extends Decodable> T getOutputData ( Class<T> responseType ) throws SmbException {
    
            Decodable out = getOutputData();
    
            if ( out == null ) {
                throw new SmbException("Failed to decode output data");
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 09:45:59 UTC 2018
    - 7.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/dcerpc/msrpc/SamrDomainHandle.java

     */
    
    package jcifs.dcerpc.msrpc;
    
    
    import java.io.IOException;
    
    import jcifs.dcerpc.DcerpcHandle;
    import jcifs.dcerpc.rpc;
    import jcifs.smb.SmbException;
    
    
    @SuppressWarnings ( "javadoc" )
    public class SamrDomainHandle 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
    - 1.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrDomainHandle.java

            handle.sendrecv(rpc);
            if (rpc.retval != 0)
                throw new SmbException(rpc.retval, false);
        }
    
        public void close() throws IOException {
            MsrpcSamrCloseHandle rpc = new MsrpcSamrCloseHandle(this);
            handle.sendrecv(rpc);
            if (rpc.retval != 0)
                throw new SmbException(rpc.retval, false);
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 1.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbCopyUtil.java

         * @param w
         * @param dh
         * @param sh
         * @param req
         * @param resp
         * @throws SmbException
         */
        static void copyFile ( SmbFile src, SmbFile dest, byte[][] b, int bsize, WriterThread w, SmbTreeHandleImpl sh, SmbTreeHandleImpl dh )
                throws SmbException {
    
            if ( sh.isSMB2() && dh.isSMB2() && sh.isSameTree(dh) ) {
                try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 17.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/DirFileEntryEnumIterator2.java

            }
            catch ( SmbException e ) {
                Smb2CreateResponse cr = create.getResponse();
                if ( cr != null && cr.isReceived() && cr.getStatus() == NtStatus.NT_STATUS_OK ) {
                    try {
                        th.send(new Smb2CloseRequest(th.getConfig(), cr.getFileId()));
                    }
                    catch ( SmbException e2 ) {
                        e.addSuppressed(e2);
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Dec 20 16:15:08 UTC 2020
    - 5.7K bytes
    - Viewed (0)
Back to top