On (07/03/16 12:48), Pavel Březina wrote:
I'm just reviewing Petr's sudo rule invalidation patches and
when I hit
>+ case TYPE_SUDO_RULE:
>+ type_string = "sudo_rule";
>+#ifdef BUILD_SUDO
>+ ret = sysdb_search_sudo_rules(ctx, dinfo,
>+ filter, attrs, &msg_count, &msgs);
>+#else /* BUILD_SUDO */
>+ ret = ENOSYS;
>+#endif /* BUILD_SUDO */
>+ break;
I though why not remove it anyway. Sudo has grown from experimental feature
to heavily used one so I think we can simply remove the conditional build.
What do you think?
sudo provider is build by default since "Mon Aug 27 22:15:17
2012"
But in gentoo they use it for enabling disabling feature
https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-auth/sssd/sssd-1.13.1....
https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-auth/sssd/sssd-1.9.7.e...
If we want to remove it then it would be good at least to inform
gentoo maintainer about this change.
LS