Title: #334: Print a warning when enumeration is requested but disabled
On (31/07/17 10:56), AmitKumar wrote:
> log the message in the code path triggered by getent passwd
1. On Ticket dpal suggested "The message should be logged once at the start-up if
enumeration is off."
Such message would be useless IMHO.
2. Hope enumeration does not effect "id" command o/p incase
of Large GIDs also, then we may have to place similar warning at `id <username>`
path as well.
sssd implement enumeration function for user, groups and services
"getent passwd" -> `_nss_sss_setpwent`, `_nss_sss_endpwent`
"getent group" -> `_nss_sss_setgrent`, `_nss_sss_endgrent`
"getent services" -> `_nss_sss_setservent`, `_nss_sss_endservent`
See the full comment at https://github.com/SSSD/sssd/pull/334#issuecomment-319038788