selftest: test idmap backend id allocation for unknown SIDS
commit2a322a7671c9ffd0dd600142dd76b5b51a67e185
authorRalph Boehme <slow@samba.org>
Sun, 12 Jun 2016 17:03:11 +0000 (12 19:03 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 28 Jun 2016 05:27:18 +0000 (28 07:27 +0200)
tree3969aa241f9d501d1c63f2369e6ea12a30313370
parentaa54fa4e88cc80bc7841beba3a5561ad2c83dc80
selftest: test idmap backend id allocation for unknown SIDS

If an SID is is not found becaues the RID doesn't exist in a domain and
the domain is configured to use a non-allocating idmap backend like
idmap_ad or idmap_rfc2307, winbindd must not return a mapping for the
SID.

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>
nsswitch/tests/test_idmap_nss.sh [new file with mode: 0755]
source3/selftest/tests.py