Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for UniAddress (0.09 sec)

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

        /**
         * Compare two addresses for equality. Two <tt>UniAddress</tt>s are equal
         * if they are both <tt>UniAddress</tt>' and refer to the same IP address.
         */
        public boolean equals( Object obj ) {
            return obj instanceof UniAddress && addr.equals(((UniAddress)obj).addr);
        }
    /*
        public boolean equals( Object obj ) {
            return obj instanceof UniAddress && addr.hashCode() == obj.hashCode();
        }
    */
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 16.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/netbios/NameServiceClientImpl.java

        }
    
    
        private static UniAddress[] wrapInetAddresses ( InetAddress[] iaddrs ) {
            UniAddress[] addrs = new UniAddress[iaddrs.length];
            for ( int ii = 0; ii < iaddrs.length; ii++ ) {
                addrs[ ii ] = new UniAddress(iaddrs[ ii ]);
            }
            return addrs;
        }
    
    
        private static UniAddress[] wrapNetbiosAddresses ( NetbiosAddress[] addr ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 14 14:26:22 UTC 2022
    - 38.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbSession.java

        static NbtAddress[] dc_list = null;
        static long dc_list_expiration;
        static int dc_list_counter;
    
        private static NtlmChallenge interrogate( NbtAddress addr ) throws SmbException {
            UniAddress dc = new UniAddress( addr );
            SmbTransport trans = SmbTransport.getSmbTransport( dc, 0 );
            if (USERNAME == null) {
                trans.connect();
                if (SmbTransport.log.level >= 3)
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/Dfs.java

            if (_domains != null && System.currentTimeMillis() > _domains.expiration) {
                _domains = null;
            }
            if (_domains != null)
                return _domains.map;
            try {
                UniAddress addr = UniAddress.getByName(auth.domain, true);
                SmbTransport trans = SmbTransport.getSmbTransport(addr, 0);
                CacheEntry entry = new CacheEntry(Dfs.TTL * 10L);
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/SmbTransport.java

    //         * get roots in target domain
    //         */
    //
    //        UniAddress dc = UniAddress.getByName(domainName);
    //        SmbTransport trans = SmbTransport.getSmbTransport(dc, 0);
    //        DfsReferral[] dr = trans.getDfsReferrals(auth, "\\" + domainName, 1);
    //
    //        handle = DcerpcHandle.getHandle("ncacn_np:" +
    //                    UniAddress.getByName(dr[0].server).getHostAddress() +
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 31.2K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/http/NtlmHttpFilter.java

         */
        protected NtlmPasswordAuthentication negotiate( HttpServletRequest req,
                    HttpServletResponse resp,
                    boolean skipAuthentication ) throws IOException, ServletException {
            UniAddress dc;
            String msg;
            NtlmPasswordAuthentication ntlm = null;
            msg = req.getHeader( "Authorization" );
            boolean offerBasic = enableBasic && (insecureBasic || req.isSecure());
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 10.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/tests/TimeoutTest.java

                    NetbiosAddress nbt = byName.unwrap(NetbiosAddress.class);
                    if ( nbt != null ) {
                        return new UniAddress(this.replacementNetbios);
                    }
    
                    return new UniAddress(this.replacementINET);
                }
    
    
                private Address[] wrap ( String hostname, Address[] all ) {
                    Address actual = all[ 0 ];
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 12.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NtlmHttpFilter.java

        }
    
    
        private static NtlmChallenge interrogate ( CIFSContext tf, Address addr ) throws SmbException {
            UniAddress dc = new UniAddress(addr);
            try ( SmbTransportInternal trans = tf.getTransportPool()
                    .getSmbTransport(tf, dc, 0, false, tf.hasDefaultCredentials() && tf.getConfig().isIpcSigningEnforced())
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 14.8K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                            byte[] ip = java.net.InetAddress.getByName(address).getAddress();
                            this.addresses = new UniAddress[1];
                            this.addresses[ 0 ] = new UniAddress(java.net.InetAddress.getByAddress(host, ip));
                        }
                    }
                    else if ( host.length() == 0 ) {
                        try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Jul 20 08:24:53 UTC 2019
    - 23.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                        String mb = NbtAddress.getByName( NbtAddress.MASTER_BROWSER_NAME, 0x01, null ).getHostAddress();
                        dc = UniAddress.getByName( mb );
                    } else {
                        dc = UniAddress.getByName( server, possibleWorkgroup );
                    }
    
                    req.getSession(); /* ensure session id is set for cluster env. */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Wed Jan 22 03:57:31 UTC 2020
    - 19.7K bytes
    - Viewed (0)
Back to top