Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for SmbException (0.07 sec)

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

        }
    
    
        @Override
        public void renameTo ( SmbResource d ) throws SmbException {
            renameTo(d, false);
        }
    
    
        @Override
        public void renameTo ( SmbResource d, boolean replace ) throws SmbException {
            if ( ! ( d instanceof SmbFile ) ) {
                throw new SmbException("Invalid target resource");
            }
            SmbFile dest = (SmbFile) d;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. src/test/java/jcifs/tests/SessionTest.java

            }
        }
    
    
        protected void ignoreAuthFailure ( SmbAuthException e ) throws SmbAuthException {
            if ( e.getCause() != null && e.getCause() instanceof SmbException
                    && ( (SmbException) e.getCause() ).getNtStatus() == NtStatus.NT_STATUS_INVALID_PARAMETER ) {
                // broken samba servers
                Assume.assumeNoException(e);
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  7. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.SID;
    import jcifs.config.PropertyConfiguration;
    import jcifs.context.BaseContext;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.SmbException;
    import jcifs.smb.SmbFile;
    import jcifs.smb.SmbFileInputStream;
    
    /**
     * @author shinsuke
     *
     */
    public class SmbClient extends AbstractCrawlerClient {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu May 23 01:54:36 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/FileAttributesTest.java

    import org.junit.runners.Parameterized;
    import org.junit.runners.Parameterized.Parameters;
    
    import jcifs.CIFSException;
    import jcifs.SmbConstants;
    import jcifs.SmbResource;
    import jcifs.smb.NtStatus;
    import jcifs.smb.SmbException;
    import jcifs.smb.SmbFile;
    import jcifs.smb.SmbFileOutputStream;
    import jcifs.smb.SmbUnsupportedOperationException;
    import jcifs.smb.WinError;
    
    
    /**
     * 
     * 
     * 
     * @author mbechler
     */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/EnumTest.java

    import jcifs.SmbTreeHandle;
    import jcifs.config.DelegatingConfiguration;
    import jcifs.context.CIFSContextWrapper;
    import jcifs.netbios.NameServiceClientImpl;
    import jcifs.smb.DosFileFilter;
    import jcifs.smb.SmbException;
    import jcifs.smb.SmbFile;
    import jcifs.smb.SmbFilenameFilter;
    import jcifs.smb.SmbUnsupportedOperationException;
    
    
    /**
     * @author mbechler
     *
     */
    @RunWith ( Parameterized.class )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 25.5K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

    import jakarta.annotation.Resource;
    import jcifs.smb1.Config;
    import jcifs.smb1.smb1.ACE;
    import jcifs.smb1.smb1.NtlmPasswordAuthentication;
    import jcifs.smb1.smb1.SID;
    import jcifs.smb1.smb1.SmbException;
    import jcifs.smb1.smb1.SmbFile;
    import jcifs.smb1.smb1.SmbFileInputStream;
    import jcifs.smb1.util.LogStream;
    
    /**
     * @author shinsuke
     *
     */
    public class SmbClient extends AbstractCrawlerClient {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 18.9K bytes
    - Viewed (0)
Back to top