From ac0f8656eed39a4527a5336cf93aa1508666f79b Mon Sep 17 00:00:00 2001 From: Christof Schmitt Date: Mon, 22 Apr 2019 16:38:11 -0700 Subject: selftest: Pass trusted domain information to idmap_ad test BUG: https://bugzilla.samba.org/show_bug.cgi?id=13903 Signed-off-by: Christof Schmitt Reviewed-by: Jeremy Allison --- nsswitch/tests/test_idmap_ad.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'nsswitch') diff --git a/nsswitch/tests/test_idmap_ad.sh b/nsswitch/tests/test_idmap_ad.sh index 3e36498efcb..d89ed20a799 100755 --- a/nsswitch/tests/test_idmap_ad.sh +++ b/nsswitch/tests/test_idmap_ad.sh @@ -3,14 +3,17 @@ # Basic testing of id mapping with idmap_ad # -if [ $# -ne 3 ]; then - echo Usage: $0 DOMAIN DC_SERVER DC_PASSWORD +if [ $# -ne 6 ]; then + echo Usage: $0 DOMAIN DC_SERVER DC_PASSWORD TRUST_DOMAIN TRUST_SERVER TRUST_PASSWORD exit 1 fi DOMAIN="$1" DC_SERVER="$2" DC_PASSWORD="$3" +TRUST_DOMAIN="$4" +TRUST_SERVER="$5" +TRUST_PASSWORD="$6" wbinfo="$VALGRIND $BINDIR/wbinfo" ldbmodify="$VALGRIND $BINDIR/ldbmodify" -- cgit v1.2.1