Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for issues (0.21 sec)

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

            }
        }
    
    
        @Test
        // BUG #15
        // this cannot be reproduced against samba, samba always subtracts
        // 8 bytes from the output buffer length, probably to mitigate
        // against this issue
        public void testEnumBufferSize () throws IOException {
            CIFSContext ctx = getContext();
            int origBufferSize = ctx.getConfig().getMaximumBufferSize();
            // odd buffer size that does match the alignment
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Jan 05 13:09:03 GMT 2023
    - 25.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/NtlmContext.java

                this.auth.isGuest() ? this.transportContext.getConfig().getGuestPassword() : this.auth.getPassword(),
                this.auth.isGuest() ? null : this.auth.getUserDomain(),
                this.auth.isGuest() ? this.transportContext.getConfig().getGuestUsername() : this.auth.getUsername(),
                this.workstation,
                this.ntlmsspFlags,
                this.auth.isGuest() || !this.auth.isAnonymous());
        }
    
    
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 15.7K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/netbios/NbtAddress.java

                    localInetAddress = InetAddress.getLocalHost();
                } catch( UnknownHostException uhe ) {
                    /* 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.
    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)
  4. LICENSE

    You are not responsible for enforcing compliance by third parties with
    this License.
    
      11. If, as a consequence of a court judgment or allegation of patent
    infringement or for any other reason (not limited to patent issues),
    conditions are imposed on you (whether by court order, agreement or
    otherwise) that contradict the conditions of this License, they do not
    excuse you from the conditions of this License.  If you cannot
    Plain Text
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Jan 18 20:25:38 GMT 2016
    - 25.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbTransport.java

            SmbComNegotiateResponse resp = new SmbComNegotiateResponse( server );
            try {
                negotiate( port, resp );
            } catch( ConnectException ce ) {
                // Try an alternate port if there was an issue communicating to the server
                // Only set the alternate port to the port property if it was successful
                int altPort = (port == 0 || port == DEFAULT_PORT) ? 139 : DEFAULT_PORT;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 31.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/ContextConfigTest.java

            NtlmPasswordAuthenticator ntlmGuestCreds = guestCreds.unwrap(NtlmPasswordAuthenticator.class);
            assertThat("anonymous", ntlmGuestCreds.isAnonymous(), CoreMatchers.is(false));
            assertThat("guest", ntlmGuestCreds.isGuest(), CoreMatchers.is(true));
    
            Credentials anonCreds = this.context.withAnonymousCredentials().getCredentials();
            assertThat(anonCreds, CoreMatchers.is(CoreMatchers.instanceOf(NtlmPasswordAuthenticator.class)));
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 9.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

            return getName();
        }
    
    
        @Override
        public boolean isAnonymous () {
            return this.type == AuthenticationType.NULL;
        }
    
    
        @Override
        public boolean isGuest () {
            return this.type == AuthenticationType.GUEST;
        }
    
    
        static String unescape ( String str ) throws NumberFormatException, UnsupportedEncodingException {
            char ch;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 12:07:20 GMT 2020
    - 18.8K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/SessionTest.java

            try ( SmbFile f = new SmbFile(url) ) {
                Credentials creds = f.getContext().getCredentials();
    
                assertFalse(creds.isAnonymous());
                assertFalse(creds.isGuest());
                assertTrue(creds instanceof NtlmPasswordAuthenticator);
                NtlmPasswordAuthenticator ntcreds = (NtlmPasswordAuthenticator) creds;
    
                assertNotNull(ntcreds.getUsername());
    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)
  9. src/main/java/jcifs/netbios/NameServiceClientImpl.java

                }
                catch ( UnknownHostException uhe ) {
                    /*
                     * 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.
    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)
  10. src/main/java/jcifs/smb/SmbTreeConnection.java

            try ( SmbSessionImpl treesess = t.getSession() ) {
                if ( treesess.getCredentials().isAnonymous() || treesess.getCredentials().isGuest() ) {
                    // refresh anonymous session or fallback to anonymous from guest login
                    try ( SmbSessionInternal s = trans
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:50:16 GMT 2020
    - 31K bytes
    - Viewed (0)
Back to top