Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for We (6.04 sec)

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

                log.trace("Have DC referral " + dr);
            }
    
            if ( dr != null && domain.equals(dr.getServer()) && root.equals(dr.getShare()) ) {
                // If we do cache these we never get to the properly cached
                // standalone referral we might have.
                log.warn("Dropping self-referential referral " + dr);
                dr = null;
            }
            return dr;
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:07:29 GMT 2023
    - 29.1K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFileOutputStream.java

                this.writeSize = sendBufferSize;
                this.writeSizeFile = sendBufferSize;
                return;
            }
    
            this.openFlags &= ~ ( SmbConstants.O_CREAT | SmbConstants.O_TRUNC ); /* in case we close and reopen */
            this.writeSize = sendBufferSize - 70;
    
            this.useNTSmbs = th.hasCapability(SmbConstants.CAP_NT_SMBS);
            if ( !this.useNTSmbs ) {
                log.debug("No support for NT SMBs");
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  3. src/test/java/jcifs/tests/FileAttributesTest.java

                }
                catch ( SmbException e ) {
                    if ( e.getNtStatus() == NtStatus.NT_STATUS_ACCESS_DENIED || e.getNtStatus() == WinError.ERROR_ACCESS_DENIED ) {
                        // we might not have permissions for that
                        Assume.assumeTrue("No permission for share security accesss", false);
                    }
                    throw e;
                }
            }
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 12.3K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbTreeImpl.java

         * @return whether this tree may be a DFS share
         * @throws SmbException
         */
        public boolean isPossiblyDfs () throws SmbException {
            if ( this.connectionState.get() == 2 ) {
                // we are connected, so we know
                return isDfs();
            }
            try ( SmbTransportImpl transport = this.session.getTransport() ) {
                return transport.getNegotiateResponse().isDFSSupported();
            }
        }
    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)
  5. src/test/java/jcifs/tests/ConcurrencyTest.java

                    if ( log.isDebugEnabled() ) {
                        log.debug("Failures " + failCount.get() + " wrote " + writeCount.get() + " read " + readCnt);
                    }
                    assertEquals("Read less than we wrote", writeCount.get(), readCnt);
                    assertEquals(n, failCount.get() + writeCount.get());
                }
                finally {
                    f.delete();
                }
            }
        }
    
    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)
  6. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

             */
            return 0;
        }
    
    
        /*
         * We overload this method from ServerMessageBlock because
         * we want writeAndXWireFormat to write the parameterWords
         * and bytes. This is so we can write batched smbs because
         * all but the first smb of the chaain do not have a header
         * and therefore we do not want to writeHeaderWireFormat. We
         * just recursivly call writeAndXWireFormat.
         */
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Nov 28 10:56:27 GMT 2022
    - 14.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                    /*
                     * Java cannot determine the localhost. This is basically a config
                     * issue on the host. There's not much we can do about it. Just
                     * to suppress NPEs that would result we can create a possibly bogus
                     * address. Pretty sure the below cannot actually thrown a UHE tho.
                     */
                    try {
    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)
  8. src/test/java/jcifs/tests/SessionTest.java

        }
    
    
        @Test
        public void logonUserNoDomain () throws IOException {
            Assume.assumeTrue(getTestDomain().equalsIgnoreCase(getTestUserDomain()));
            // without a domain name, at this point we do not resolve the domain DFS roots
            Assume.assumeTrue(getProperties().get("test.share.dfsroot.url") == null);
            CIFSContext ctx = getContext();
            try ( SmbResource f = new SmbFile(
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 15.8K bytes
    - Viewed (0)
Back to top