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)
commit365778a993b7d76af6d53ba2a598b7e271741dc5
tree9c4048151d459c87c1c9621dd2697bad5a0b3213
parentf47e5f716137b08380b17fdd95d2f454f53d6ce6
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
source/librpc/config.mk
source/librpc/rpc/dcerpc_connect.c
source/librpc/rpc/dcerpc_secondary.c [new file with mode: 0644]
source/selftest/test_member.sh
source/winbind/wb_connect_sam.c
source/winbind/wb_dom_info.c
source/winbind/wb_init_domain.c
source/winbind/wb_pam_auth.c