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:
@@ -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:
|
||||
|
Reference in New Issue
Block a user