nsswitch: Extend idmap_rfc2307 testcase for reverse lookup
commitc1c07b462058f863e706127203e6f30dba89a2a9
authorChristof Schmitt <cs@samba.org>
Thu, 4 Jun 2015 17:39:14 +0000 (4 10:39 -0700)
committerJeremy Allison <jra@samba.org>
Thu, 4 Jun 2015 23:24:32 +0000 (5 01:24 +0200)
tree3358bcc2a743b6cad2f281e83625c8fdfaf20df4
parent835c278e43b9dec98834de0fb12445720e9df2e5
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
nsswitch/tests/test_idmap_rfc2307.sh
source3/selftest/tests.py