Title: #334: Print a warning when enumeration is requested but disabled
On (24/07/17 10:25), AmitKumar wrote:
Purpose of this PR is to add an explanatory message to be logged once
at the start-up explaning that if enumeration is off 'getent passwd' will not
return all users information. This is by design.
Again Log level for this message it kept low [SSSDBG_OP_FAILURE 0x0040 /* level 2
*/]. We want this message to be printed in almost all cases because it tells this
functionality is be design and prevents anyone from opening a bug.
Debug level `SSSDBG_OP_FAILURE` is not appropriate here. Because there is not
any Operation failure.
Man sssd.conf says:
2, 0x0040: Serious failures. An error announcing that a particular
request or operation has failed.
See the full comment at https://github.com/SSSD/sssd/pull/334#issuecomment-317387767