summaryrefslogtreecommitdiff
path: root/source3/selftest
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2015-06-04 10:39:14 -0700
committerJeremy Allison <jra@samba.org>2015-06-05 01:24:32 +0200
commitc1c07b462058f863e706127203e6f30dba89a2a9 (patch)
tree3358bcc2a743b6cad2f281e83625c8fdfaf20df4 /source3/selftest
parent835c278e43b9dec98834de0fb12445720e9df2e5 (diff)
downloadsamba-c1c07b462058f863e706127203e6f30dba89a2a9.tar.gz
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
Diffstat (limited to 'source3/selftest')
-rwxr-xr-xsource3/selftest/tests.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/selftest/tests.py b/source3/selftest/tests.py
index dd06e07005a..d6e6869d165 100755
--- a/source3/selftest/tests.py
+++ b/source3/selftest/tests.py
@@ -350,7 +350,7 @@ for t in tests:
plansmbtorture4testsuite(t, "nt4_dc", '//$SERVER_IP/write-list-tmp -U$USERNAME%$PASSWORD')
plansmbtorture4testsuite(t, "ad_dc", '//$SERVER/tmp -U$USERNAME%$PASSWORD')
elif t == "idmap.rfc2307":
- plantestsuite(t, "ad_member_rfc2307", [os.path.join(samba3srcdir, "../nsswitch/tests/test_idmap_rfc2307.sh"), '$DOMAIN', 'Administrator', '2000000', '"Domain Users"', '2000001', 'ou=idmap,dc=samba,dc=example,dc=com', '$DC_SERVER', '$DC_USERNAME', '$DC_PASSWORD'])
+ plantestsuite(t, "ad_member_rfc2307", [os.path.join(samba3srcdir, "../nsswitch/tests/test_idmap_rfc2307.sh"), '$DOMAIN', 'Administrator', '2000000', 'Guest', '2000001', '"Domain Users"', '2000002', 'DnsAdmins', '2000003', 'ou=idmap,dc=samba,dc=example,dc=com', '$DC_SERVER', '$DC_USERNAME', '$DC_PASSWORD'])
elif t == "raw.acls":
plansmbtorture4testsuite(t, "nt4_dc", '//$SERVER_IP/tmp -U$USERNAME%$PASSWORD')
plansmbtorture4testsuite(t, "nt4_dc", '//$SERVER_IP/nfs4acl_simple -U$USERNAME%$PASSWORD', description='nfs4acl_xattr-simple')