Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for SmbUnsupportedOperationException (0.27 sec)

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

     */
    package jcifs.smb;
    
    
    /**
     * @author mbechler
     *
     */
    public class SmbUnsupportedOperationException extends SmbException {
    
        /**
         * 
         */
        private static final long serialVersionUID = -5576981906065713710L;
    
    
        /**
         * 
         */
        public SmbUnsupportedOperationException () {
            super("Operation is not supported with the negotiated capabilities");
        }
    
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 1.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/FileAttributesTest.java

    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
     */
    @RunWith ( Parameterized.class )
    @SuppressWarnings ( "javadoc" )
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/EnumTest.java

                    }
                    catch ( SmbUnsupportedOperationException e ) {}
    
                    c.createNewFile();
                    boolean haveArchive = false;
                    try {
                        c.setAttributes(SmbConstants.ATTR_ARCHIVE);
                        haveArchive = true;
                    }
                    catch ( SmbUnsupportedOperationException e ) {}
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbEnumerationUtil.java

                catch ( CIFSException e ) {
                    if ( e.getCause() instanceof UnknownHostException ) {
                        log.debug("Failed to find master browser", e);
                        throw new SmbUnsupportedOperationException();
                    }
                    throw e;
                }
                try ( SmbFile browser = (SmbFile) parent.resolve(addr.getHostAddress()) ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/KerberosTest.java

    import jcifs.smb.Kerb5Authenticator;
    import jcifs.smb.SmbException;
    import jcifs.smb.SmbFile;
    import jcifs.smb.SmbSessionInternal;
    import jcifs.smb.SmbTreeHandleInternal;
    import jcifs.smb.SmbUnsupportedOperationException;
    import sun.security.jgss.krb5.Krb5Util;
    import sun.security.krb5.Asn1Exception;
    import sun.security.krb5.Credentials;
    import sun.security.krb5.EncryptionKey;
    import sun.security.krb5.KrbAsReqBuilder;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Mar 01 09:46:04 GMT 2020
    - 11.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/Kerb5Authenticator.java

                // A potential workaround would be to try to get the server FQDN by reverse lookup, but this might have
                // security implications and also is not how Microsoft does it.
                throw new SmbUnsupportedOperationException("Cannot use netbios/short names with kerberos authentication, have " + host);
            }
            try {
                NegTokenInit tok = new NegTokenInit(initialToken);
                if ( log.isDebugEnabled() ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbCopyUtil.java

            if ( sh.isSMB2() && dh.isSMB2() && sh.isSameTree(dh) ) {
                try {
                    serverSideCopy(src, dest, sh, dh, false);
                    return;
                }
                catch ( SmbUnsupportedOperationException e ) {
                    log.debug("Server side copy not supported, falling back to normal copying", e);
                }
                catch ( CIFSException e ) {
                    log.warn("Server side copy failed", e);
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 17.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/NtlmContext.java

                        throw new SmbUnsupportedOperationException("Server does not support extended NTLMv2 key exchange");
                    }
    
                    if ( !msg2.getFlag(NtlmFlags.NTLMSSP_NEGOTIATE_128) ) {
                        throw new SmbUnsupportedOperationException("Server does not support 128-bit keys");
                    }
                }
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 15.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/NetServerEnumIterator.java

         */
        private void checkStatus () throws SmbException {
            int status = this.response.getStatus();
            if ( status == WinError.ERROR_SERVICE_NOT_INSTALLED ) {
                throw new SmbUnsupportedOperationException();
            }
            if ( status != WinError.ERROR_SUCCESS && status != WinError.ERROR_MORE_DATA ) {
                throw new SmbException(status, true);
            }
        }
    
    
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/FileOperationsTest.java

                        renamed = true;
                    }
                    finally {
                        tgt.delete();
                    }
                }
                catch ( SmbUnsupportedOperationException e ) {
                    try ( SmbTreeHandle th = defaultShareRoot.getTreeHandle() ) {
                        Assume.assumeTrue("Not SMB2", th.isSMB2());
                    }
                    throw e;
                }
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:17:59 GMT 2023
    - 16.3K bytes
    - Viewed (0)
Back to top