[sudo-users] Converting from sudoers to ldif

Daniele Palumbo daniele at retaggio.net
Sun Feb 18 17:05:24 MST 2018

I would say totally useful!

One of the common use case -- i think -- is to check if a set of rules in LDAP match a local one.

Are you still looking for some ideas on sudoers to LDIF conversion?
Like, define a set of char for setting the sudoOrder LDIF parameter.

We have in example

and we wish to respect this order in LDAP.
Of course a setting file should be used.

Thank you very much,

> Il giorno 19 feb 2018, alle ore 00:20, Todd C. Miller <Todd.Miller at sudo.ws> ha scritto:
> 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:
> https://www.sudo.ws/mailman/listinfo/sudo-users

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 195 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://www.sudo.ws/pipermail/sudo-users/attachments/20180219/456a41f9/attachment.bin>

More information about the sudo-users mailing list