Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 59 for docs (0.22 sec)

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

         */
        static final String[] DOS_ERROR_MESSAGES = {
            "The operation completed successfully.",
            "Incorrect function.",
            "Incorrect function.",
            "The system cannot find the file specified.",
            "Bad password.",
            "The system cannot find the path specified.",
            "reserved",
            "The client does not have the necessary access rights to perform the requested function.",
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 4.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/Kerb5Authenticator.java

            this.subject = subject;
        }
    
    
        /**
         * Construct a <code>Kerb5Authenticator</code> object with <code>Subject</code> and
         * potential NTLM fallback (if the server does not support kerberos).
         * 
         * @param subject
         *            represents the user who perform Kerberos authentication. Should at least contain a TGT for the user.
         * @param domain
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 13K bytes
    - Viewed (0)
  3. src/main/java/jcifs/netbios/Lmhosts.java

        private final Map<Name, NbtAddress> table = new HashMap<>();
        private long lastModified = 1L;
        private int alt;
    
    
        /**
         * This is really just for {@link jcifs.netbios.UniAddress}. It does
         * not throw an {@link java.net.UnknownHostException} because this
         * is queried frequently and exceptions would be rather costly to
         * throw on a regular basis here.
         * 
         * @param host
         * @param tc
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 6.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/tests/WatchTest.java

            }
        }
    
    
        @Test
        public void testWatchModified () throws InterruptedException, ExecutionException, IOException {
            // samba 4 starting with some version does not seem to handle this correctly :(
            try ( SmbWatchHandle w = this.base
                    .watch(FileNotifyInformation.FILE_NOTIFY_CHANGE_ATTRIBUTES | FileNotifyInformation.FILE_NOTIFY_CHANGE_LAST_WRITE, false) ) {
    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)
  5. src/main/java/jcifs/smb1/smb1/SmbException.java

                int min = 0;
                int max = DOS_ERROR_CODES.length - 1;
    
                while( max >= min ) {
                    int mid = (min + max) / 2;
    
                    if( errcode > DOS_ERROR_CODES[mid][0] ) {
                        min = mid + 1;
                    } else if( errcode < DOS_ERROR_CODES[mid][0] ) {
                        max = mid - 1;
                    } else {
                        return DOS_ERROR_MESSAGES[mid];
                    }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 5.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/tests/EnumTest.java

        // against this issue
        public void testEnumBufferSize () throws IOException {
            CIFSContext ctx = getContext();
            int origBufferSize = ctx.getConfig().getMaximumBufferSize();
            // odd buffer size that does match the alignment
            int tryBufferSize = 1023;
            final int bufSize[] = new int[] {
                origBufferSize
            };
            ctx = withConfig(ctx, new DelegatingConfiguration(ctx.getConfig()) {
    
    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)
  7. src/main/java/jcifs/dcerpc/msrpc/MsrpcShareEnum.java

            this.ptype = 0;
            this.flags = DCERPC_FIRST_FRAG | DCERPC_LAST_FRAG;
        }
    
    
        public FileEntry[] getEntries () {
            /*
             * The ShareInfo1 class does not implement the FileEntry
             * interface (because it is generated from IDL). Therefore
             * we must create an array of objects that do.
             */
            srvsvc.ShareInfoCtr1 ctr = (srvsvc.ShareInfoCtr1) this.info;
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/Trans2QueryFSInformation.java

             * name as a zero terminated ascii string "\TMP" + '\0'
             *
             * As is this works, but it deviates from the spec section 4.1.6.6 but
             * maybe I should put it in. Wonder what NT does?
             */
    
            return dstIndex - start;
        }
        int writeDataWireFormat( byte[] dst, int dstIndex ) {
            return 0;
        }
        int readSetupWireFormat( byte[] buffer, int bufferIndex, int len ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 21:10:40 GMT 2019
    - 2.5K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbWatchHandle.java

         * opened if it is not and should be closed with {@link #close()} when no longer
         * needed.
         * 
         * Closing the context should cancel a pending notify request, but that does not seem to work reliable in all
         * implementations.
         * 
         * Changes in between these calls (as long as the file is open) are buffered by the server, so iteratively calling
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb1/trans2/Trans2QueryFSInformation.java

             * name as a zero terminated ascii string "\TMP" + '\0'
             *
             * As is this works, but it deviates from the spec section 4.1.6.6 but
             * maybe I should put it in. Wonder what NT does?
             */
    
            return dstIndex - start;
        }
    
    
        /**
         * @param il
         * @return
         */
        private static int mapInformationLevel ( int il ) {
            switch ( il ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.5K bytes
    - Viewed (0)
Back to top