diff options
author | Christof Schmitt <cs@samba.org> | 2019-09-25 17:19:27 -0700 |
---|---|---|
committer | Christof Schmitt <cs@samba.org> | 2019-09-27 16:07:40 +0000 |
commit | 485874d6bb328c50c9a98785e85270f28ade7497 (patch) | |
tree | d90bdbc038400f21f7872db8cf404147be8c9406 /selftest | |
parent | 18e2d6b0098232c2bd8d51320095d35bd7301920 (diff) | |
download | samba-485874d6bb328c50c9a98785e85270f28ade7497.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>
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\) |