selftest: test idmap backend id allocation for unknown SIDS
commit965e6ed51a07b5645cd66f5bdcfa32afb0515d30
authorRalph Boehme <slow@samba.org>
Sun, 12 Jun 2016 17:03:11 +0000 (12 19:03 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 4 Aug 2016 09:10:19 +0000 (4 11:10 +0200)
tree26bfa1470c9429880a8e9e31248bb81cf2df9cfc
parent036a6bd2bb759776f050f4533ac01a8cef17f7f0
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