Log warning when no uid was found for user

In some incomplete setups (like mine) it can happen that the uid
attribute of users is missing.

To be able to find out that something is wrong, a debug message is now
logged when it has not been found.
Merge pull request #11499 from owncloud/ldap-warningwhenuidismissing

Log warning when no uid was found for user