Title: #334: Print a warning when enumeration is requested but disabled
@amitkumar50, I guess you misunderstood @lslebodn's comment and I have to agree with
You're logging the message when SSSD is started. In other words, when we read the
config from confdb, then we print that message.
AFAIU @lslebodn's comment, he suggested to just log the message in the code path
triggered by `getent passwd` and just when enumeration is not enabled ... so, that would
cover exactly the case proposed in the issue you're working on to solve.
@lslebodn, please, jump in in case I misunderstood your comment.
See the full comment at https://github.com/SSSD/sssd/pull/334#issuecomment-318814515