selftest: tests idmap mapping with idmap_rid
authorRalph Boehme <slow@samba.org>
Wed, 5 Apr 2017 11:27:51 +0000 (13:27 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 20 Apr 2017 10:23:18 +0000 (12:23 +0200)
commit50583a66a06fcd6a510e034bc206f1c6c39f4d7a
tree0adc4de2b64d6b86eb08d99199daf8dea4e2a1a5
parentd0643c5e537798486f2707b20dd8aee27b74161c
selftest: tests idmap mapping with idmap_rid

This adds two blackbox tests that run wbinfo --sids-to-unix-ids:

o a non-existing SID from the primary domain should return a mapping

o a SID with a bogus (and therefor unknown) domain must not return a mapping

Bug: https://bugzilla.samba.org/show_bug.cgi?id=11961

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Fri Apr  7 00:05:02 CEST 2017 on sn-devel-144

(cherry picked from commit b680ceebf85b2403758a0f9e931f1211e9b80e8d)
nsswitch/tests/test_idmap_rid.sh [new file with mode: 0755]
source3/selftest/tests.py