2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-31 14:25:15 +00:00

For ldap/sssd, include defaults in the generate privilege unless

we are listing in short mode (in which case we convert them to tags
if possible).  Fixes a problem where sudoOptions were not being
applied to the command.
This commit is contained in:
Todd C. Miller
2018-08-02 14:45:00 -06:00
parent 171686c422
commit 608574a219
6 changed files with 9 additions and 9 deletions

View File

@@ -1196,7 +1196,7 @@ ldap_to_sudoers(LDAP *ld, struct ldap_result *lres,
priv = sudo_ldap_role_to_priv(cn, hosts, runasusers, runasgroups,
cmnds, opts, notbefore ? notbefore[0]->bv_val : NULL,
notafter ? notafter[0]->bv_val : NULL, false, long_list,
notafter ? notafter[0]->bv_val : NULL, false, !short_list,
berval_iter);
cleanup: