URL: https://github.com/SSSD/sssd/pull/334
Title: #334: Print a warning when enumeration is requested but disabled

amitkumar50 commented:
"""
@lslebodn Thanks for information
>src/responder/common/cache_req/plugins/cache_req_enum_users.c
>src/responder/common/cache_req/plugins/cache_req_enum_groups.c

I tried placing debug into these files when **enumeration** was enabled. But 
debugs were not logged.

Though Can we place debug statement inside:
`sdap_id_setup_tasks(){    //src/providers/ldap/ldap_common.c`
`      if (sdom->dom->enumerate) {`
 `         //Debug statement here      <======`
`      }`
`}`
In this case Debug would only be printed when **enumeration** is enabled.

And since  `sdap_id_setup_tasks()` is called by 
`AD-Provider(src/providers/ad/ad_init.c)` and 
`IPA-Provider(src/providers/ipa/ipa_subdomains_server.c)` and `LDAP-Providers` 
as well.

"""

See the full comment at 
https://github.com/SSSD/sssd/pull/334#issuecomment-320633543
_______________________________________________
sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org
To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org

Reply via email to