Examples of NetlogonAuthenticator


Examples of org.ntlmv2.liferay.ntlm.msrpc.NetlogonAuthenticator

      netlogonConnection.connect(
        _domainController, _domainControllerName, _ntlmServiceAccount,
        _secureRandom);

      NetlogonAuthenticator netlogonAuthenticator =
        netlogonConnection.computeNetlogonAuthenticator();

      NetlogonIdentityInfo netlogonIdentityInfo =
        new NetlogonIdentityInfo(
          domain, 0x00000820, 0, 0, userName, workstation);

      NetlogonNetworkInfo netlogonNetworkInfo = new NetlogonNetworkInfo(
        netlogonIdentityInfo, serverChallenge, ntResponse, lmResponse);

      NetrLogonSamLogon netrLogonSamLogon = new NetrLogonSamLogon(
        _domainControllerName, _ntlmServiceAccount.getComputerName(),
        netlogonAuthenticator, new NetlogonAuthenticator(), 2,
        netlogonNetworkInfo, 2, new NetlogonValidationSamInfo(), 0);

      DcerpcHandle dcerpcHandle = netlogonConnection.getDcerpcHandle();

      dcerpcHandle.sendrecv(netrLogonSamLogon);
View Full Code Here

Examples of org.ntlmv2.liferay.ntlm.msrpc.NetlogonAuthenticator

    Encdec.enc_uint32le(input, _clientCredential, 0);

    byte[] credential = computeNetlogonCredential(
      _clientCredential, _sessionKey);

    return new NetlogonAuthenticator(credential, timestamp);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.