Uh oh!
There was an error while loading. Please reload this page.
Update User_LDAP.php - #13755
Conversation
violoncelloCH
commented
Jan 23, 2019
DCO is failing because the commit is not signed-off |
userManager->getAttributes() could be returning empty values, which will give no result when used for searching. This patch will simply drop empty values in the $attrs before using it for searching. Signed-off-by: Samuel Retika <m_samuel_l@hotmail.com>
sretika
commented
Jan 23, 2019
Sure thing. Done. |
blizzz
commented
Jan 24, 2019
@sretika2 it should not return empty attributes, cf. https://github.com/nextcloud/server/blob/master/apps/user_ldap/lib/User/Manager.php#L200-L205 |
MorrisJobke
commented
Jul 16, 2019
As there is no feedback since a while I will close this ticket. If this is still a problem please feel free to reopen and explain what is happening in detail. Maybe together with some debug logs with the variable values. |
userManager->getAttributes() could be returning empty values, which will give no result when used for searching. This patch will simply drop empty values in the $attrs before using it for searching.