Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 43 for forMap (1.67 sec)

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

    
        private static DcerpcHandle getHandle ( CIFSContext ctx, SmbResourceLocator loc, Address address, String ep )
                throws MalformedURLException, DcerpcException {
            return DcerpcHandle.getHandle(String.format("ncacn_np:%s[endpoint=%s,address=%s]", loc.getServer(), ep, address.getHostAddress()), ctx);
        }
    
    
        static FileEntry[] doDfsRootEnum ( CIFSContext ctx, SmbResourceLocator loc, Address address ) throws IOException {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Jul 20 08:41:19 GMT 2019
    - 12.5K bytes
    - Viewed (0)
  2. src/main/java/jcifs/SID.java

     */
    package jcifs;
    
    
    /**
     * A Windows SID is a numeric identifier used to represent Windows
     * accounts. SIDs are commonly represented using a textual format such as
     * <tt>S-1-5-21-1496946806-2192648263-3843101252-1029</tt> but they may
     * also be resolved to yield the name of the associated Windows account
     * such as <tt>Administrators</tt> or <tt>MYDOM\alice</tt>.
     * <p>
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/NtlmContext.java

            if ( expectSeq != seq ) {
                throw new CIFSException(String.format("Invalid MIC sequence, expect %d have %d", expectSeq, seq));
            }
    
            byte[] verify = new byte[8];
            System.arraycopy(mic, 4, verify, 0, 8);
            if ( !MessageDigest.isEqual(trunc, verify) ) {
                if ( log.isDebugEnabled() ) {
                    log.debug(String.format("Seq = %d ver = %d encrypted = %s", seq, ver, encrypted));
    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)
  4. src/main/java/jcifs/netbios/SessionRequestPacket.java

            int start = bufferIndex;
            if ( in.read(buffer, bufferIndex, this.length) != this.length ) {
                throw new IOException("invalid session request wire format");
            }
            bufferIndex += this.calledName.readWireFormat(buffer, bufferIndex);
            bufferIndex += this.callingName.readWireFormat(buffer, bufferIndex);
            return bufferIndex - start;
        }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 2.4K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/netbios/NbtException.java

                    break;
                case ERR_NAM_SRVC:
                    result += "ERR_NAM_SRVC/";
                    switch( errorCode ) {
                        case FMT_ERR:
                            result += "FMT_ERR: Format Error";
                        default:
                            result += "Unknown error code: " + errorCode;
                    }
                    break;
                case ERR_SSN_SRVC:
                    result += "ERR_SSN_SRVC/";
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:39:42 GMT 2019
    - 3.9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb/Kerb5Context.java

        @Override
        public String toString () {
            if ( this.gssContext == null || !this.gssContext.isEstablished() ) {
                return String.format("KERB5[src=%s,targ=%s]", this.clientName, this.serviceName);
            }
            try {
                return String
                        .format("KERB5[src=%s,targ=%s,mech=%s]", this.gssContext.getSrcName(), this.gssContext.getTargName(), this.gssContext.getMech());
            }
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Thu Aug 02 08:22:42 GMT 2018
    - 13.9K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbCopyUtil.java

                        }
    
                        i = i == 1 ? 0 : 1;
                        off += read;
                    }
    
                    if ( log.isDebugEnabled() ) {
                        log.debug(String.format("Copied a total of %d bytes", off));
                    }
    
                    if ( dh.isSMB2() ) {
                        Smb2SetInfoRequest req = new Smb2SetInfoRequest(dh.getConfig(), dfd.getFileId());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Tue Jul 07 10:52:42 GMT 2020
    - 17.1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/Smb3KeyDerivation.java

            // per bouncycastle
            // <li>1: K(i) := PRF( KI, [i]_2 || Label || 0x00 || Context || [L]_2 ) with the counter at the very beginning
            // of the fixedInputData (The default implementation has this format)</li>
            // with the parameters
            // <li>1. KDFCounterParameters(ki, null, "Label || 0x00 || Context || [L]_2]", 8);
    
            // all fixed inputs go into the suffix:
            // + label
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/dfs/DfsReferralDataImpl.java

            String s = getServer();
            if ( s.indexOf('.') < 0 && s.toUpperCase(Locale.ROOT).equals(s) ) {
                String fqdn = s + "." + dom;
                if ( log.isDebugEnabled() ) {
                    log.debug(String.format("Applying DFS netbios name hack %s -> %s ", s, fqdn));
                }
                this.server = fqdn;
            }
        }
    
    
        @Override
        public void fixupHost ( String fqdn ) {
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sat Nov 13 15:13:49 GMT 2021
    - 11K bytes
    - Viewed (0)
  10. src/test/java/jcifs/tests/FileLocationTest.java

        }
    
    
        @Test
        public void testBindingAddress () throws DcerpcException, MalformedURLException, CIFSException, IOException {
            try ( DcerpcHandle h = DcerpcHandle
                    .getHandle(String.format("ncacn_np:%s[endpoint=%s,address=%s]", "testing", "\\pipe\\srvsvc", "1.2.3.4"), getContext()) ) {
    
                assertEquals("testing", h.getServer());
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Wed Jan 08 13:16:07 GMT 2020
    - 23K bytes
    - Viewed (0)
Back to top