[sudo-users] Converting from sudoers to ldif
ryan.c.anderson at gmail.com
Tue Feb 20 08:20:43 MST 2018
An LDIF-to-sudoers-file conversion utility would be useful. I am moving
from LDAP to sudoers now due to migrating Linux clients to use AD, and no
desire to add the sudo schema to it. I'm enforcing /etc/sudoers via puppet,
keeping it under git revision control, and easing the migration on Linux by
using 'sudoers: files ldap' in /etc/nsswitch.conf until complete.
On Sun, Feb 18, 2018 at 5:21 PM Todd C. Miller <Todd.Miller at sudo.ws> wrote:
> I assume that for most people, converting from file-based sudoers
> to LDAP is a one-way process. Sudo 1.8.23 will contain a cvtsudoers
> utility that takes a sudoers file for input and can convert to JSON,
> LDIF or sudoers for output.
> If there is a need for it, I could write an LDIF parser for cvtsudoers
> to convert from LDIF to sudoers (or JSON) for those who wish to
> migrate from LDAP sudoers to file-based sudoers. Would this be of
> use to anyone?
> - todd
> sudo-users mailing list <sudo-users at sudo.ws>
> For list information, options, or to unsubscribe, visit:
More information about the sudo-users