r23890: Allow wbinfo -a to work against Samba4's winbind.
authorAndrew Bartlett <abartlet@samba.org>
Mon, 16 Jul 2007 11:27:29 +0000 (11:27 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 20:01:08 +0000 (15:01 -0500)
commitc86e98aa8070137834f0587b613e215db8802f27
tree1782cf9a4d8aefb40bc962adbb337da90b48682e
parent3ccf9ff2ab468d91b9843139df2dfdccbe24c7a1
r23890: Allow wbinfo -a to work against Samba4's winbind.

Add a test for wbinfo -a to test_member.sh

Reimplement the server-side 'pam_auth' and 'pam_auth_crap' calls to
use the same SamLogon code as auth_winbind uses.

In my previous code, we did not bind to the LSA and SAMR pipes, before
attempting operations.  We now do this (how we passed any tests before
is beyond me).

This required some rework, particularly to make it easier to setup
secondary connections.  The new rpc_secondary_auth_connection()
function also performs the bind.

The dcerpc_connect.c file was getting to big, so things have been
merged into dcerpc_secondary.c.

Andrew Bartlett
(This used to be commit 365778a993b7d76af6d53ba2a598b7e271741dc5)
source4/librpc/config.mk
source4/librpc/rpc/dcerpc_connect.c
source4/librpc/rpc/dcerpc_secondary.c [new file with mode: 0644]
source4/selftest/test_member.sh
source4/winbind/wb_connect_sam.c
source4/winbind/wb_dom_info.c
source4/winbind/wb_init_domain.c
source4/winbind/wb_pam_auth.c