cvtsudoers wrong input

Radovan Sroka <[email protected]> Fri, 23 Aug 2019 15:34:24 +0200
Newsgroups gmane.comp.tools.sudo.devel
Message-ID <CAD_08=-VFyyUgn54VGDi84RPC1ks0wbND3ORR=1XvNV69uGCpw@mail.gmail.com>
 Hi Todd,

"cvtsudoers" silently ends when expected input is LDIF but the actual input
is "sudoers".

cat /etc/sudoers | cvtsudoers -b redhat.com -i LDIF
# echo $?
0

I think it should return 1 and print some error message.

Tested on sudo-1.8.27

What do you think?

-- 
--
---------------------------------------------------------

Radovan Sroka
Software Engineer | Security Technologies | Red Hat, Inc.
____________________________________________________________
sudo-workers mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-workers