summaryrefslogtreecommitdiffstats
path: root/src/python
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2017-02-05 20:25:23 +0100
committerJakub Hrozek <jhrozek@redhat.com>2017-02-10 16:55:04 +0100
commita5ecc93abb01cece628fdef04ebad43bba267419 (patch)
tree1edeb70559484f6f6ede6e26c397b457c65651f8 /src/python
parent00c0b7bc6969d31deab9e8e7541b4a6483b78b3e (diff)
SUDO: Only store lowercased attribute value once
The current code doesn't handle the situation where lowercasing the sudoUser attribute would yield the same value again. For example: sudoUser: TUSER sudoUser tuser would break. This patch switches to using the utility function sysdb_attrs_add_lower_case_string() which already checks for duplicates. Resolves: https://fedorahosted.org/sssd/ticket/3301 Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com> Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src/python')
0 files changed, 0 insertions, 0 deletions