if (server == null)
server = "\\\\";
MsrpcSamrConnect4 rpc = new MsrpcSamrConnect4(server, access, this);
try {
handle.sendrecv(rpc);
} catch (DcerpcException de) {
if (de.getErrorCode() != DcerpcError.DCERPC_FAULT_OP_RNG_ERROR)
throw de;
MsrpcSamrConnect2 rpc2 = new MsrpcSamrConnect2(server, access, this);
handle.sendrecv(rpc2);
}