Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for hack (0.17 sec)

  1. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

            if ( s.indexOf('.') < 0 && s.toUpperCase(Locale.ROOT).equals(s) ) {
                String fqdn = s + "." + dom;
                if ( log.isDebugEnabled() ) {
                    log.debug(String.format("Applying DFS netbios name hack %s -> %s ", s, fqdn));
                }
                this.server = fqdn;
            }
        }
    
    
        @Override
        public void fixupHost ( String fqdn ) {
            String s = getServer();
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 11K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                                                        throws UnknownHostException {
            NbtAddress addr;
    
            if( name.hexCode == 0x1d && svr == null ) {
                svr = CLIENT.baddr; // bit of a hack but saves a lookup
            }
            name.srcHashCode = svr != null ? svr.hashCode() : 0;
            addr = getCachedAddress( name );
    
            if( addr == null ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 30.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/NameServiceClientImpl.java

    
        NbtAddress doNameQuery ( Name name, InetAddress svr ) throws UnknownHostException {
            NbtAddress addr;
    
            if ( name.hexCode == 0x1d && svr == null ) {
                svr = this.baddr; // bit of a hack but saves a lookup
            }
            name.srcHashCode = svr != null ? svr.hashCode() : 0;
            addr = getCachedAddress(name);
    
            if ( addr == null ) {
                /*
    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)
  4. src/main/java/jcifs/internal/smb2/ServerMessageBlock2Response.java

        @Override
        public boolean verifySignature ( byte[] buffer, int i, int size ) {
            // observed too that signatures on error responses are sometimes wrong??
            // Looks like the failure case also is just reflecting back the signature we sent
    
            // with SMB3's negotiation validation it's no longer possible to ignore this (on the validation response)
            // make sure that validation is performed in any case
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 7.4K bytes
    - Viewed (0)
  5. src/test/java/jcifs/tests/WatchTest.java

                throws InterruptedException, ExecutionException, TimeoutException {
            boolean found = checkInResult(action, name, infos);
            if ( !found ) {
                // retry, the first watch may have already come back before the triggered change was active
                try {
                    setupWatch(w);
                    found = checkInResult(action, name, infos);
                }
                catch ( TimeoutException e ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/Kerb5Authenticator.java

                    }
                    if ( ( !foundKerberos || this.forceFallback ) && this.canFallback && tc.getConfig().isAllowNTLMFallback() ) {
                        log.debug("Falling back to NTLM authentication");
                        return super.createContext(tc, targetDomain, host, initialToken, doSigning);
                    }
                    else if ( !foundKerberos ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbCopyUtil.java

                    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);
                    throw SmbException.wrap(e);
                }
            }
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 17.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/Configuration.java

         * 
         * Property <tt>jcifs.smb.client.dfs.disabled</tt> (boolean, default false)
         * 
         * @return whether DFS lookup is disabled
         */
        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.
         * 
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 18K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/ServerMessageBlock.java

             * suggests MS doesn't compute the signature (correctly) for error responses
             * (perhaps for DOS reasons).
             */
            /*
             * Looks like the failure case also is just reflecting back the signature we sent
             */
    
            /**
             * Maybe this is related:
             * 
             * If signing is not active, the SecuritySignature field of the SMB Header for all messages sent, except
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Aug 05 09:45:59 GMT 2018
    - 32.7K bytes
    - Viewed (0)
Back to top