URL:
https://github.com/SSSD/sssd/pull/432
Title: #432: CACHE_REQ: Better debugging for email conflicts
mzidek-rh commented:
"""
You are wrong.
It will not generate the message you wrote.
It will never show shortname in the output.
It will not generate the error if you search by username that is not an email.
Here is an example where it can generate the error:
- We have two users called email1 and email2 ... they both share the same email address
email1(a)ipadomain.test
```
[root@clietn ~]# getent passwd email1
email1:*:667000008:667000008:e mail:/home/email1:/bin/sh
[root@clietn ~]# getent passwd email2
email2:*:667000009:667000009:e mail2:/home/email2:/bin/sh
[root@clietn ~]# getent passwd email1
[root@clietn ~]# # NOTHING IS RETURNED HERE, let's check the logs
```
```
(Fri Nov 3 15:52:42 2017) [sssd[nss]] [sysdb_getpwnam] (0x0020): Search for
[email1(a)ipadomain.test] returned multiple results. It can be an email address shared among
multiple users or an email address of a user that conflicts with another user's fully
qualified name. SSSD will not be able to handle those users properly.
```
So.. what do you suggest to change in the debug message again?
"""
See the full comment at
https://github.com/SSSD/sssd/pull/432#issuecomment-341730086