mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-30 22:05:46 +00:00
Initial support for adding comments that will be emitted when
sudoers is formatted. Currently adds a comment for the source sudoRole when converting from ldif -> sudoers.
This commit is contained in:
@@ -1436,6 +1436,7 @@ sss_to_sudoers(struct sudo_sss_handle *handle, struct sss_sudo_result *sss_resul
|
||||
goto oom;
|
||||
TAILQ_INIT(&us->users);
|
||||
TAILQ_INIT(&us->privileges);
|
||||
STAILQ_INIT(&us->comments);
|
||||
TAILQ_INSERT_TAIL(sss_userspecs, us, entries);
|
||||
|
||||
/* The user has already matched, use ALL as wildcard. */
|
||||
|
Reference in New Issue
Block a user