Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Reed (0.18 sec)

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

                        this.fp = fh.getInitialSize();
                    }
                    init(th);
                    if ( !append && this.smb2 ) {
                        // no open option for truncating, need to truncate the file
                        Smb2SetInfoRequest treq = new Smb2SetInfoRequest(th.getConfig(), fh.getFileId());
                        treq.setFileInformation(new FileEndOfFileInformation(0));
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sat Nov 13 15:14:04 GMT 2021
    - 11.9K bytes
    - Viewed (0)
  2. src/main/java/jcifs/dcerpc/DcerpcHandle.java

            int off = 0;
            int tot = buf.getLength() - 24;
            while ( off < tot ) {
                int fragSize = tot - off;
                if ( ( 24 + fragSize ) > this.max_xmit ) {
                    // need fragementation
                    msg.flags &= ~DCERPC_LAST_FRAG;
                    fragSize = this.max_xmit - 24;
                }
                else {
                    msg.flags |= DCERPC_LAST_FRAG;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jun 30 10:11:57 GMT 2019
    - 12.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SID.java

         */
        public SID ( String textual ) throws SmbException {
            StringTokenizer st = new StringTokenizer(textual, "-");
            if ( st.countTokens() < 3 || !st.nextToken().equals("S") )
                // need S-N-M
                throw new SmbException("Bad textual SID format: " + textual);
    
            this.revision = Byte.parseByte(st.nextToken());
            String tmp = st.nextToken();
            long id = 0;
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 14.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

            /* The Filter can only work with NTLMv1 as it uses a man-in-the-middle
             * techinque that NTLMv2 specifically thwarts. A real NTLM Filter would
             * need to do a NETLOGON RPC that JCIFS will likely never implement
             * because it requires a lot of extra crypto not used by CIFS.
             */
            Config.setProperty( "jcifs.smb1.smb.lmCompatibility", "0" );
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 10.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/AndXServerMessageBlock.java

                    /* The SMB_COM_NT_CREATE_ANDX response wordCount is wrong. There's an
                     * extra 16 bytes for some "Offline Files (CSC or Client Side Caching)"
                     * junk. We need to bump up the wordCount here so that this method returns
                     * the correct number of bytes for signing purposes. Otherwise we get a
                     * signing verification failure.
                     */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 11.3K bytes
    - Viewed (0)
  6. 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 {
             */
            for ( this.addrIndex = 0; srcIndex < end; this.addrIndex++ ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 12K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbCopyUtil.java

            log.debug("Trying server side copy");
            SmbFileHandleImpl dfd = null;
            try {
                long size;
                byte[] resumeKey;
    
                // despite there being a resume key, we still need an open file descriptor?
                try ( SmbFileHandleImpl sfd = src.openUnshared(0, SmbConstants.O_RDONLY, SmbConstants.FILE_SHARE_READ, SmbConstants.ATTR_NORMAL, 0) ) {
                    if ( sfd.getInitialSize() == 0 ) {
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 17.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/netbios/NbtAddress.java

    import java.util.HashMap;
    
    import jcifs.smb1.Config;
    import jcifs.smb1.util.Hexdump;
    
    /**
     * This class represents a NetBIOS over TCP/IP address. Under normal
     * conditions, users of jCIFS need not be concerned with this class as
     * name resolution and session services are handled internally by the smb package.
     * 
     * <p> Applications can use the methods <code>getLocalHost</code>,
     * <code>getByName</code>, and
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 30.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/tests/KerberosTest.java

            long start = System.currentTimeMillis() / 1000 * 1000;
            // this is not too great as it depends on timing/clockskew
            // first we need to obtain a ticket, therefor need valid credentials
            // then we need to wait until the ticket is expired
            int wait = 10 * 1000;
            long princExp = start + ( wait / 2 );
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Mar 01 09:46:04 GMT 2020
    - 11.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                        while (timeout > 0) {
                            response.wait( timeout );
    
                            /* JetDirect printer can respond to regular broadcast query
                             * with node status so we need to check to make sure that
                             * the record type matches the question type and if not,
                             * loop around and try again.
                             */
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 17.4K bytes
    - Viewed (0)
Back to top