Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 32 for SmbAuthException (0.77 sec)

  1. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

    import jcifs.smb1.Config;
    import jcifs.smb1.UniAddress;
    import jcifs.smb1.smb1.NtStatus;
    import jcifs.smb1.smb1.NtlmChallenge;
    import jcifs.smb1.smb1.NtlmPasswordAuthentication;
    import jcifs.smb1.smb1.SmbAuthException;
    import jcifs.smb1.smb1.SmbSession;
    import jcifs.smb1.util.Base64;
    import jcifs.smb1.util.LogStream;
    
    /**
     * This servlet Filter can be used to negotiate password hashes with
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/http/NetworkExplorer.java

    import jcifs.smb1.UniAddress;
    import jcifs.smb1.netbios.NbtAddress;
    import jcifs.smb1.smb1.DfsReferral;
    import jcifs.smb1.smb1.NtStatus;
    import jcifs.smb1.smb1.NtlmPasswordAuthentication;
    import jcifs.smb1.smb1.SmbAuthException;
    import jcifs.smb1.smb1.SmbException;
    import jcifs.smb1.smb1.SmbFile;
    import jcifs.smb1.smb1.SmbFileInputStream;
    import jcifs.smb1.smb1.SmbSession;
    import jcifs.smb1.util.Base64;
    import jcifs.smb1.util.LogStream;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NetworkExplorer.java

    import jcifs.context.BaseContext;
    import jcifs.netbios.NbtAddress;
    import jcifs.smb.DfsReferral;
    import jcifs.smb.NtStatus;
    import jcifs.smb.NtlmPasswordAuthentication;
    import jcifs.smb.SmbAuthException;
    import jcifs.smb.SmbException;
    import jcifs.smb.SmbFile;
    import jcifs.smb.SmbFileInputStream;
    
    /**
     * This servlet may be used to "browse" the entire hierarchy of resources
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbCopyUtil.java

         * Private constructor to prevent instantiation of utility class.
         */
        private SmbCopyUtil() {
        }
    
        /**
         * @param dest
         * @return
         * @throws SmbException
         * @throws SmbAuthException
         */
        static SmbFileHandleImpl openCopyTargetFile(final SmbFile dest, final int attrs, final boolean alsoRead) throws CIFSException {
            try {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/NtlmHttpFilter.java

    import jcifs.context.BaseContext;
    import jcifs.netbios.UniAddress;
    import jcifs.smb.NtStatus;
    import jcifs.smb.NtlmChallenge;
    import jcifs.smb.NtlmPasswordAuthentication;
    import jcifs.smb.SmbAuthException;
    import jcifs.smb.SmbException;
    import jcifs.smb.SmbSessionInternal;
    import jcifs.smb.SmbTransportInternal;
    
    /**
     * This servlet Filter can be used to negotiate password hashes with
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/Kerb5ContextTest.java

        }
    
        @Test
        @DisplayName("initSecContext wraps GSSException into SmbAuthException")
        void initSecContext_failure_wraps() throws Exception {
            when(gssContext.initSecContext(any(), anyInt(), anyInt())).thenThrow(new GSSException(GSSException.DEFECTIVE_TOKEN));
            assertThrows(SmbAuthException.class, () -> ctx.initSecContext(new byte[] {}, 0, 0));
        }
    
        @Test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/Kerb5Context.java

            try {
                return this.gssContext.initSecContext(token, off, len);
            } catch (GSSException e) {
                throw new SmbAuthException("GSSAPI mechanism failed", e);
            }
        }
    
        Key searchSessionKey(Subject subject) throws GSSException {
            MIEName src = new MIEName(this.gssContext.getSrcName().export());
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13.5K bytes
    - Viewed (1)
  8. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

            this.openFlags = openFlags;
            this.access = openFlags >>> 16 & 0xFFFF;
            if (append) {
                try {
                    fp = file.length();
                } catch (final SmbAuthException sae) {
                    throw sae;
                } catch (final SmbException se) {
                    fp = 0L;
                }
            }
            if (file instanceof SmbNamedPipe && file.unc.startsWith("\\pipe\\")) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            case NtStatus.NT_STATUS_ACCOUNT_DISABLED:
            case NtStatus.NT_STATUS_ACCOUNT_LOCKED_OUT:
            case NtStatus.NT_STATUS_TRUSTED_DOMAIN_FAILURE:
                throw new SmbAuthException(resp.errorCode);
            case NtStatus.NT_STATUS_PATH_NOT_COVERED:
                if (req.auth == null) {
                    throw new SmbException(resp.errorCode, null);
                }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/SmbFile.java

            }
    
            try {
                if (LogStream.level >= 3) {
                    log.println("doConnect: " + addr);
                }
    
                tree.treeConnect(null, null);
            } catch (final SmbAuthException sae) {
                NtlmPasswordAuthentication a;
                SmbSession ssn;
    
                if (share == null) { // IPC$ - try "anonymous" credentials
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top