Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 23 for right (0.13 sec)

  1. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

                        return Arrays.equals( ansiHash, ntlm.ansiHash ) &&
                                    Arrays.equals( unicodeHash, ntlm.unicodeHash );
                        /* This still isn't quite right. If one npa object does not have external
                         * hashes and the other does then they will not be considered equal even
                         * though they may be.
                         */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 22.5K bytes
    - Viewed (0)
  2. src/test/java/jcifs/tests/PACTest.java

            verifyArcfourHMAC(17, expect, data, key);
        }
    
    
    
        @Test
        public void testAES128Checksum () throws GeneralSecurityException {
            String data = "eight nine ten eleven twelve thirteen";
            String key = "9062430C8CDA3388922E6D6A509F5B7A";
            String expect = "01A4B088D45628F6946614E3";
            verifyAESHMAC(3, expect, key, data.getBytes(StandardCharsets.US_ASCII));
    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)
  3. src/main/java/jcifs/smb/DfsImpl.java

            }
    
            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;
        }
    
    
        /**
         * @param tf
         * @param domain
    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)
  4. 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)
  5. src/main/java/jcifs/smb/SmbFileInputStream.java

                // this used to be len > 0, but this is BS:
                // - InputStream.read gives no such guarantee
                // - otherwise the caller would need to figure out the block size, or otherwise might end up with very small
                // reads
                return (int) ( this.fp - start );
            }
        }
    
    
        /**
         * This stream class is unbuffered. Therefore this method will always
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun May 17 08:55:14 GMT 2020
    - 13.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/Kerb5Authenticator.java

                // use a KDC of our choice.
                // 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);
            }
    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/smb1/util/DES.java

            leftt ^= work;
            right ^= (work << 2);
    
            work   = ((right >>>  8) ^ leftt) & 0x00ff00ff;
            leftt ^= work;
            right ^= (work << 8);
            right  = (right << 1) | ((right >>> 31) & 1);
    
            work   = (leftt ^ right) & 0xaaaaaaaa;
            leftt ^= work;
            right ^= work;
            leftt  = (leftt << 1) | ((leftt >>> 31) & 1);
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 21.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                 * array. Incedentally when these andx smbs are created they are not
                 * necessarily populated with header data because they're not writing
                 * the header, only their body. But for whatever reason one might wish
                 * to populate fields if the writeXxx operation needs this header data
                 * for whatever reason. I copy over the uid here so it appears correct
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/NameServicePacket.java

            /*
             * Apparently readRDataWireFormat can return 0 if resultCode != 0 in
             * which case this will look indefinitely. Putting this else clause around
             * the loop might fix that. But I would need to see a capture to confirm.
             * if (resultCode != 0) {
             * srcIndex += rDataLength;
             * } else {
             */
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 12K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NbtAddress.java

     * </blockquote></pre>
     * <p> The hostname of this machine is <code>JMORRIS2</code>. It is
     * a member of the group(a.k.a workgroup and domain) <code>BILLING-NY</code>. To
     * obtain an {@link java.net.InetAddress} for a host one might do:
     *
     * <pre>
     *   InetAddress addr = NbtAddress.getByName( "jmorris2" ).getInetAddress();
     * </pre>
     * <p>From a UNIX platform with Samba installed you can perform similar
    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)
Back to top