summaryrefslogtreecommitdiff
path: root/selftest
diff options
context:
space:
mode:
authorChristof Schmitt <cs@samba.org>2019-09-25 17:19:27 -0700
committerStefan Metzmacher <metze@samba.org>2019-10-15 10:26:18 +0000
commit8a2ca386dfbf0bd26520d110ddbaff1c33fdf659 (patch)
treeb8ce49c2a2d868310ec98b3229641ac0e15c35d6 /selftest
parentd689042dffeb39d3200e90441b3f18023cab4369 (diff)
downloadsamba-8a2ca386dfbf0bd26520d110ddbaff1c33fdf659.tar.gz
selftest: Test ID_TYPE_BOTH with idmap_rid module
ID_TYPE_BOTH means that each user and group has two mappings, a uid and gid. In addition the calls to getpwent, getpwuid, getgrent and getgrgid always return some information, so that uid and gid can be mapped to a name. Establish a test to verify that the expected information is returned. BUG: https://bugzilla.samba.org/show_bug.cgi?id=14141 Signed-off-by: Christof Schmitt <cs@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> (cherry picked from commit 485874d6bb328c50c9a98785e85270f28ade7497)
Diffstat (limited to 'selftest')
-rw-r--r--selftest/knownfail.d/passwd-id-type-both4
1 files changed, 4 insertions, 0 deletions
diff --git a/selftest/knownfail.d/passwd-id-type-both b/selftest/knownfail.d/passwd-id-type-both
new file mode 100644
index 00000000000..e969ef8d165
--- /dev/null
+++ b/selftest/knownfail.d/passwd-id-type-both
@@ -0,0 +1,4 @@
+idmap\.rid.getpwnam for ID_TYPE_BOTH group succeeds\(ad_member_idmap_rid\)
+idmap\.rid.getpwnam for ID_TYPE_BOTH group output\(ad_member_idmap_rid\)
+idmap\.rid.getpwuid for ID_TYPE_BOTH group succeeds\(ad_member_idmap_rid\)
+idmap\.rid.getpwuid for ID_TYPE_BOTH group output\(ad_member_idmap_rid\)