Re: Converting from sudoers to ldif
Ryan Anderson <[email protected]>
| Newsgroups | gmane.comp.tools.sudo.user |
|---|---|
| Message-ID | <CAABBcpKMAr4-OL-2LiywPQ-0Mw7-be1EJ1ddZUiw21LAmVat8Q@mail.gmail.com> |
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 <[email protected]> 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 <[email protected]> > For list information, options, or to unsubscribe, visit: > https://www.sudo.ws/mailman/listinfo/sudo-users > ____________________________________________________________ sudo-users mailing list <[email protected]> For list information, options, or to unsubscribe, visit: https://www.sudo.ws/mailman/listinfo/sudo-users