Add a blackbox tests for id & getent to test domain@realm type credentials
authorNoel Power <noel.power@suse.com>
Thu, 29 Sep 2016 15:50:58 +0000 (16:50 +0100)
committerStefan Metzmacher <metze@samba.org>
Mon, 24 Oct 2016 08:56:12 +0000 (10:56 +0200)
commit0790769c09bcf5100770b7fadf076f74b9970323
tree37699bc3fd3d1efe52a428807f9bd9231c4569f9
parent6e12cac25a3c1db56633f4d4a22fdd85a892401b
Add a blackbox tests for id & getent to test domain@realm type credentials

Using domain@realm credentials has been problematic when
global conf setting "winbind use default domain" is enabled, this patch
creates a new s4member_dflt_domain environment (where
"winbind use default domain" is enabled) and runs getent & id against the
normal s4member & and new s4member_dflt_domain environments

BUG: https://bugzilla.samba.org/show_bug.cgi?id=12298

Signed-off-by: Noel Power <noel.power@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit ebfe3c85d0bbdf5d5f7459ddd61e3b44c3ec2bd3)
selftest/target/Samba.pm
selftest/target/Samba4.pm
source4/selftest/tests.py
testprogs/blackbox/dom_parse.sh [new file with mode: 0755]