Hi, Mohib.
Just to add to this ticket, I found that it is not possible to log a user if it doesn't have configured a mail attribute, even though it should be possible to do this only with uid configured. I did not found anywhere in the documentation that a mail attribute is a necessary attribute for user identification. Please inform me also about this workaround.