Refactor code to convert defaults to tags and do conversion on
output for "sudo -l". Remove the short_list (was long_list) global in favor of a verbose argument.
This commit is contained in:
@@ -1196,8 +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, !short_list,
|
||||
berval_iter);
|
||||
notafter ? notafter[0]->bv_val : NULL, false, true, berval_iter);
|
||||
|
||||
cleanup:
|
||||
if (cn != NULL)
|
||||
|
Reference in New Issue
Block a user