selftest: test idmap backend id allocation for unknown SIDS
authorRalph Boehme <slow@samba.org>
Sun, 12 Jun 2016 17:03:11 +0000 (19:03 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 3 Aug 2016 09:19:14 +0000 (11:19 +0200)
commit0d8feb781f2f68a1ce1f0b826e86aaa8bab59c97
treee832b9ad762d34800688e849054be2e6f53abc8c
parent62e78547231d225495044799bdc2ca2a809b8583
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>
(cherry picked from commit 2a322a7671c9ffd0dd600142dd76b5b51a67e185)
nsswitch/tests/test_idmap_nss.sh [new file with mode: 0755]
source3/selftest/tests.py