Re: Converting from sudoers to ldif

Daniele Palumbo <[email protected]>
Newsgroups gmane.comp.tools.sudo.user
Message-ID <[email protected]>
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
101-template1
102-template2

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

Thank you very much,
Daniele

> Il giorno 19 feb 2018, alle ore 00:20, Todd C. Miller <[email protected]> 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 <[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
signature.asc (application/pgp-signature, 195 B)
-----BEGIN PGP SIGNATURE-----

iF0EARECAB0WIQQ2i6u6VhCxV1aSkPHxOPmZ9ILUVAUCWooUxAAKCRDxOPmZ9ILU
VM7hAJ4m4LmiF9nTEL1pXlmbiluZG4vTrQCdG5NwiU3cxkXvzHFPYE6rsaxKIYs=
=FmV8
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.