nsswitch: Extend idmap_rfc2307 testcase for reverse lookup
commitf8c27d1e4a53e8a8324a28187b33db56992dcfb7
authorChristof Schmitt <cs@samba.org>
Fri, 5 Jun 2015 15:26:43 +0000 (5 08:26 -0700)
committerKarolin Seeger <kseeger@samba.org>
Tue, 9 Jun 2015 21:11:15 +0000 (9 23:11 +0200)
treef025c8cd822d6e3f9db265eb7c4b1843bea80d35
parent2070fa2ed2d010f4974ee053928d48f1c0ff0c74
nsswitch: Extend idmap_rfc2307 testcase for reverse lookup

Also test the codepaths to map UID and GID back to SID and names.  Use
different user and group to avoid returning results cached from the
previous lookups.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=11313

Signed-off-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Fri Jun  5 01:24:32 CEST 2015 on sn-devel-104
(cherry picked from commit c1c07b462058f863e706127203e6f30dba89a2a9)
nsswitch/tests/test_idmap_rfc2307.sh
source3/selftest/tests.py