44
44
int net_rpc_join_ok(const char *domain, const char *server, struct in_addr *ip )
47
49
struct cli_state *cli = NULL;
48
50
struct rpc_pipe_client *pipe_hnd = NULL;
49
51
struct rpc_pipe_client *netlogon_pipe = NULL;
50
52
NTSTATUS ntret = NT_STATUS_UNSUCCESSFUL;
52
67
/* Connect to remote machine */
53
if (!(cli = net_make_ipc_connection_ex(domain, server, ip, (NET_FLAGS_ANONYMOUS|NET_FLAGS_PDC)))) {
68
if (!(cli = net_make_ipc_connection_ex(domain, server, ip, conn_flags))) {