Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for fail (0.59 sec)

  1. src/test/java/jcifs/tests/PACTest.java

            return new KerberosKey(null, keybytes, etype, 0);
        }
    
    
        private static void checkBytes ( byte[] expect, byte[] have ) {
            if ( !Arrays.equals(expect, have) ) {
                Assert.fail(String.format("Expect: %s Have: %s", Hexdump.toHexString(expect), Hexdump.toHexString(have)));
            }
        }
    
    
        private static void verifyNfold ( int n, String string, String expect ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Oct 01 12:01:17 GMT 2023
    - 22.3K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/ConcurrencyTest.java

     */
    package jcifs.tests;
    
    
    import static org.junit.Assert.assertEquals;
    import static org.junit.Assert.assertTrue;
    import static org.junit.Assert.fail;
    
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.net.MalformedURLException;
    import java.net.UnknownHostException;
    import java.util.ArrayList;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:40:50 GMT 2021
    - 17.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/Configuration.java

         */
        boolean isDfsDisabled ();
    
    
        /**
         * Enable hack to make kerberos auth work with DFS sending short names
         * 
         * This works by appending the domain name to the netbios short name and will fail horribly if this mapping is not
         * correct for your domain.
         * 
         * Property <tt>jcifs.smb.client.dfs.convertToFQDN</tt> (boolean, default false)
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbFile.java

                        getContext().getNameServiceClient().getByName(this.url.getHost()).getHostName();
                    }
                }
                else {
                    // queryPath on a share root will fail, we only know whether this is one after we have resolved DFS
                    // referrals.
                    try ( SmbTreeHandleImpl th = ensureTreeConnected() ) {
                        if ( this.fileLocator.getType() == TYPE_SHARE ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                     * be cached and cause other types to fail even though they may
                     * not be the authority for the name. For example, if a WINS lookup
                     * for FOO fails and caches unknownAddress for FOO, a subsequent
                     * lookup for FOO using BCAST should not fail because of that
                     * name cached from WINS.
                     *
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 14 14:26:22 GMT 2022
    - 38.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFile.java

        static final int O_RDWR   = 0x03;
        static final int O_APPEND = 0x04;
    
        // Open Function Encoding
        // create if the file does not exist
        static final int O_CREAT  = 0x0010;
        // fail if the file exists
        static final int O_EXCL   = 0x0020;
        // truncate if the file exists
        static final int O_TRUNC  = 0x0040;
    
        // share access
    /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  7. src/main/java/jcifs/smb/SmbTransportImpl.java

            case 0xC00000BB: // NT_STATUS_NOT_SUPPORTED
                throw new SmbUnsupportedOperationException();
            case NtStatus.NT_STATUS_PATH_NOT_COVERED:
                // samba fails to report the proper status for some operations
            case 0xC00000A2: // NT_STATUS_MEDIA_WRITE_PROTECTED
                checkReferral(resp, req.getPath(), req);
            case NtStatus.NT_STATUS_BUFFER_OVERFLOW:
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 18 23:47:00 GMT 2023
    - 67K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeImpl.java

                }
                if ( request == null || ( chainedResponse != null && chainedResponse.isReceived() ) ) {
                    return chainedResponse;
                }
    
                // fall trough if the tree connection is already established
                // and send it as a separate request instead
                String svc = null;
                int t = this.tid;
                request.setTid(t);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbSessionImpl.java

                            // a relatively large range of samba versions has a bug causing
                            // an invalid parameter error when a SPNEGO MIC is in place and auth fails
                            throw new SmbAuthException("Login failed", e);
                        }
                        else if ( !sessResponse.isReceived() || sessResponse.isError() || ( sessResponse.getStatus() != NtStatus.NT_STATUS_OK
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Nov 14 17:41:04 GMT 2021
    - 49K bytes
    - Viewed (0)
Back to top