URL:
https://github.com/SSSD/sssd/pull/432
Title: #432: CACHE_REQ: Better debugging for email conflicts
lslebodn commented:
"""
I'm sorry the error message is still vague and it will not fix the bug.
NACK.
`SYSDB_USER_EMAIL` is part of attributes requested in `SYSDB_PW_ATTRS` and used in
many functions: `sysdb_search_user_by_cert, sysdb_get_user_members_recursively,
sysdb_getpwnam, sysdb_getpwuid, sysdb_enumpwent_filter,
sysdb_search_user_by_cert_with_views, sysdb_search_user_override_by_name,
sysdb_search_override_by_id, sysdb_add_overrides_to_object,
sysdb_add_group_member_overrides, sysdb_getpwupn, sysdb_search_user_by_upn,
sysdb_search_user_by_upn_res`
But you choose the wrong one. We can get more users with the same email only if
`SYSDB_USER_EMAIL` is used in filter `SYSDB_PWUPN_FILTER`. And this filter is used only in
the function `sysdb_search_user_by_upn_res`.
I would recommend to test patches especially close to deadlines.
"""
See the full comment at
https://github.com/SSSD/sssd/pull/432#issuecomment-341659084