Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 95 for SmbException (0.2 sec)

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

         * Establish a tree connection with the configured logon share
         * 
         * @throws SmbException
         */
        @Override
        public void treeConnectLogon () throws SmbException {
            String logonShare = getContext().getConfig().getLogonShare();
            if ( logonShare == null || logonShare.isEmpty() ) {
                throw new SmbException("Logon share is not defined");
            }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 17:41:04 UTC 2021
    - 49K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/SmbFile.java

        }
        void connect0() throws SmbException {
            try {
                connect();
            } catch( UnknownHostException uhe ) {
                throw new SmbException( "Failed to connect to server", uhe );
            } catch( SmbException se ) {
                throw se;
            } catch( IOException ioe ) {
                throw new SmbException( "Failed to connect to server", ioe );
            }
        }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/dcerpc/msrpc/LsaPolicyHandle.java

            handle.sendrecv(rpc);
            if (rpc.retval != 0)
                throw new SmbException(rpc.retval, false);
        }
    
        public void close() throws IOException {
            MsrpcLsarClose rpc = new MsrpcLsarClose(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)
  4. src/main/java/jcifs/smb1/dcerpc/msrpc/SamrAliasHandle.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)
  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/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)
  7. 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)
  8. src/test/java/org/codelibs/fess/helper/SambaHelperTest.java

    import jcifs.SID;
    import jcifs.smb.SmbException;
    
    public class SambaHelperTest extends UnitFessTestCase {
    
        public SambaHelper sambaHelper;
    
        @Override
        public void setUp() throws Exception {
            super.setUp();
            sambaHelper = new SambaHelper();
        }
    
        public void test_smb_account() throws SmbException {
            ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Jun 27 10:55:43 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbPipeHandleInternal.java

    
        /**
         * 
         * @return this pipe's input stream
         * @throws SmbException
         */
        @Override
        SmbPipeInputStream getInput () throws CIFSException;
    
    
        /**
         * 
         * @return this pipe's output stream
         * @throws SmbException
         * @throws
         */
        @Override
        SmbPipeOutputStream getOutput () throws CIFSException;
    
    
        /**
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 2.5K bytes
    - Viewed (0)
  10. 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)
Back to top