diff options
author | Christof Schmitt <cs@samba.org> | 2019-09-25 17:19:27 -0700 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2019-10-15 10:26:18 +0000 |
commit | 8a2ca386dfbf0bd26520d110ddbaff1c33fdf659 (patch) | |
tree | b8ce49c2a2d868310ec98b3229641ac0e15c35d6 /selftest | |
parent | d689042dffeb39d3200e90441b3f18023cab4369 (diff) | |
download | samba-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-both | 4 |
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\) |