summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2019-04-22 16:38:11 -0700
committerJeremy Allison <jra@samba.org>2019-04-24 01:02:17 +0000
commitac0f8656eed39a4527a5336cf93aa1508666f79b (patch)
treeb9777bcf9e7a4e465b4e2759c53a676ee799fcdb /nsswitch
parent65e1d783cb17904cd117d896569e7cbe79a3131b (diff)
downloadsamba-ac0f8656eed39a4527a5336cf93aa1508666f79b.tar.gz
selftest: Pass trusted domain information to idmap_ad test
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13903 Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'nsswitch')
-rwxr-xr-xnsswitch/tests/test_idmap_ad.sh7
1 files changed, 5 insertions, 2 deletions
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"