winbindd: Use rpc_pipe_open_interface() so that winbindd uses the correct rpc servers
commit5a71f46f46fc3d4cbc2fe6c06e0d1661ccead488
authorAndrew Bartlett <abartlet@samba.org>
Mon, 28 Apr 2014 09:07:59 +0000 (28 21:07 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 4 Jun 2014 01:22:26 +0000 (4 03:22 +0200)
tree1172b2b7d4a9a299c5e3e1d667344bc839031e98
parent902f14c084a53e5e0b36ed9b214251c8b78b19f3
winbindd: Use rpc_pipe_open_interface() so that winbindd uses the correct rpc servers

This means that in the AD DC, we use the AD DC servers, while in the classic DC or file server we continue
to use the built-in SAMR and LSA servers.

Andrew Bartlett

Change-Id: I63b1443f5665016f7fcbed35907ec29d4424ab18
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/param/loadparm.c
source3/winbindd/winbindd_samr.c