Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 185 for get_config (0.3 sec)

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

                try {
                    long time = System.currentTimeMillis() - 1000 * 60 * 60 * 12;
                    f.setLastModified(time);
    
                    if ( ( getContext().getConfig().getCapabilities() & SmbConstants.CAP_NT_SMBS ) == 0 ) {
                        // only have second precision
                        // there seems to be some random factor (adding one second)
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 12.3K bytes
    - Viewed (0)
  2. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

            super(ctx.getConfig());
            this.server = new ServerData();
            this.capabilities = ctx.getConfig().getCapabilities();
            this.negotiatedFlags2 = ctx.getConfig().getFlags2();
            this.maxMpxCount = ctx.getConfig().getMaxMpxCount();
            this.snd_buf_size = ctx.getConfig().getSendBufferSize();
            this.recv_buf_size = ctx.getConfig().getReceiveBufferSize();
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 15.4K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbTransportPoolImpl.java

            return getSmbTransport(tc, address, port, tc.getConfig().getLocalAddr(), tc.getConfig().getLocalPort(), null, nonPooled);
        }
    
    
        @Override
        public SmbTransportImpl getSmbTransport ( CIFSContext tc, Address address, int port, boolean nonPooled, boolean forceSigning ) {
            return getSmbTransport(tc, address, port, tc.getConfig().getLocalAddr(), tc.getConfig().getLocalPort(), null, nonPooled, forceSigning);
        }
    
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Dec 20 14:09:34 UTC 2020
    - 12.5K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/DfsImpl.java

                }
                CacheEntry<Map<String, CacheEntry<DfsReferralDataInternal>>> entry = new CacheEntry<>(tf.getConfig().getDfsTtl() * 10L);
                this._domains = entry;
                if ( tf.getConfig().isDfsStrictView() && ioe instanceof SmbAuthException ) {
                    throw (SmbAuthException) ioe;
                }
                return this._domains.map;
            }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:07:29 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/DirFileEntryEnumIterator1.java

            this.response = new Trans2FindFirst2Response(th.getConfig());
    
            try {
                th.send(
                    new Trans2FindFirst2(
                        th.getConfig(),
                        unc,
                        this.getWildcard(),
                        this.getSearchAttributes(),
                        th.getConfig().getListCount(),
                        th.getConfig().getListSize() - FIND_OVERHEAD),
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

        public NtlmPasswordAuthentication ( CIFSContext tc, String userInfo ) {
            super(
                userInfo,
                tc.getConfig().getDefaultDomain(),
                tc.getConfig().getDefaultUsername() != null ? tc.getConfig().getDefaultUsername() : "GUEST",
                tc.getConfig().getDefaultPassword() != null ? tc.getConfig().getDefaultPassword() : "");
            this.context = tc;
        }
    
    
        /**
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbPipeHandleImpl.java

                }
                else if ( this.call ) {
                    th.send(new TransWaitNamedPipe(th.getConfig(), this.uncPath), new TransWaitNamedPipeResponse(th.getConfig()));
                    TransCallNamedPipeResponse resp = new TransCallNamedPipeResponse(th.getConfig(), inB);
                    th.send(new TransCallNamedPipe(th.getConfig(), this.uncPath, buf, off, length), resp);
                    return resp.getResponseLength();
                }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Apr 13 17:05:22 UTC 2020
    - 10.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/tests/SessionTest.java

            }
        }
    
    
        @Test
        public void logonGuestAlternative () throws IOException {
    
            CIFSContext ctx = getContext();
            ctx = withConfig(ctx, new DelegatingConfiguration(ctx.getConfig()) {
    
                @Override
                public String getGuestUsername () {
                    return "jcifs-guest";
                }
            }).withGuestCrendentials();
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Thu Jan 05 13:09:03 UTC 2023
    - 15.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/netbios/Lmhosts.java

            return getByName(new Name(tc.getConfig(), host, 0x20, null), tc);
        }
    
    
        synchronized NbtAddress getByName ( Name name, CIFSContext tc ) {
            NbtAddress result = null;
    
            try {
                if ( tc.getConfig().getLmHostsFileName() != null ) {
                    File f = new File(tc.getConfig().getLmHostsFileName());
                    long lm;
    
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 6.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/com/SmbComSessionSetupAndX.java

                dstIndex += writeString(this.accountName, dst, dstIndex);
                dstIndex += writeString(this.primaryDomain, dst, dstIndex);
            }
            dstIndex += writeString(getConfig().getNativeOs(), dst, dstIndex);
            dstIndex += writeString(getConfig().getNativeLanman(), dst, dstIndex);
    
            return dstIndex - start;
        }
    
    
        @Override
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Sun Mar 17 10:20:23 UTC 2019
    - 8.8K bytes
    - Viewed (0)
Back to top