summaryrefslogtreecommitdiffstats
path: root/version.m4
diff options
context:
space:
mode:
authorLukas Slebodnik <lslebodn@redhat.com>2015-07-13 10:40:06 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-08-05 12:43:42 +0200
commit5c5a094438ac6c81d99066ec58778cab23e0a939 (patch)
treee7b237907783045742b787c672bb2a2f8252992d /version.m4
parenta45f9034e912b6242459a8d576f60ff829508bc3 (diff)
downloadsssd-5c5a094438ac6c81d99066ec58778cab23e0a939.tar.gz
sssd-5c5a094438ac6c81d99066ec58778cab23e0a939.tar.xz
sssd-5c5a094438ac6c81d99066ec58778cab23e0a939.zip
NSS: Initgr memory cache should work with fq names
We need to stored two versions of name to the initgroups memory cache. Otherwise it could be stored many times if sssd is configured with case_sensitive = false. It would be impossible to invalidate all version of names after user login. As a result of this wrong user groups could be returned from initgroups memory cache. Therefore we store raw name provided by glibc function and internal sanitized fully qualified name, which is unique for particular user. This patch also increase average space for initgroups because there are also stored two quite long names in case of fq names. Resolves: https://fedorahosted.org/sssd/ticket/2712 Reviewed-by: Michal Židek <mzidek@redhat.com> (cherry picked from commit dda0258705de7255e6ec54b7f9adbde83a220996)
Diffstat (limited to 'version.m4')
0 files changed, 0 insertions, 0 deletions