s3:winbindd: make sure we try to use NCACN_IP_TCP in cm_connect_netlogon
authorStefan Metzmacher <metze@samba.org>
Tue, 16 Dec 2014 23:17:52 +0000 (23:17 +0000)
committerStefan Metzmacher <metze@samba.org>
Fri, 19 Dec 2014 12:15:13 +0000 (13:15 +0100)
commit29816c53b28c6c061843e6f8aeef7764d8a78aff
tree2ff70806fec0de5f0c3e2eb4e3bad99f2ce7901e
parentfb42b02c9f75804bc471c1f88fbda28865d9f01e
s3:winbindd: make sure we try to use NCACN_IP_TCP in cm_connect_netlogon

We need to call init_dc_connection_rpc() before we can decide if we want to try
NCACN_IP_TCP.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
source3/winbindd/winbindd_cm.c