URL: https://github.com/SSSD/sssd/pull/374
Title: #374: IPA: Add threshold for sudo command and command group searches

justin-stephenson commented:
"""
@pbrezina Yes, but I am having trouble determining how to retrieve the 
sudo_threshold value from inside the file `ipa_sudo_async.c`

I don't see the confdb structure exposed in `ipa_sudo_async.c` to be able to 
use `confdb_get_int(cdb, CONFDB_SUDO_THRESHOLD, ...`

Currently, the way I have it working is inside `ipa_init.c` I am retrieving the 
value from `be_ctx->cdb` and copying the value to ipa_sudo_command_threshold in 
`ipa_options->basic`, then retrieving the value where I need to use it with 
`dp_opt_get_int`
"""

See the full comment at 
https://github.com/SSSD/sssd/pull/374#issuecomment-337016827
_______________________________________________
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