diff options
author | Christof Schmitt <cs@samba.org> | 2019-04-22 16:38:11 -0700 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2019-05-16 10:37:50 +0000 |
commit | 3a46730f12e3760d1eef2461527e4b58432ee917 (patch) | |
tree | 5b91dfc879cc2c7f7a23684c4ba674390c43e082 /nsswitch | |
parent | c3c2f3707a0131a5dbf9ed71e48bdda0166ad929 (diff) | |
download | samba-3a46730f12e3760d1eef2461527e4b58432ee917.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>
(cherry picked from commit ac0f8656eed39a4527a5336cf93aa1508666f79b)
Diffstat (limited to 'nsswitch')
-rwxr-xr-x | nsswitch/tests/test_idmap_ad.sh | 7 |
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" |