[sudo-workers] parsing of ldap.conf

Todd C. Miller Todd.Miller at courtesan.com
Thu Sep 1 09:31:09 MDT 2016


On Thu, 01 Sep 2016 05:12:19 -0400, Radovan Sroka wrote:

> "sudo_parseln_v1" parses ldap.conf incorrectly.
> 
> Comments always start with '#', it's okay but sudo "thinks" that '#' doesn't 
> have to be first character of the line.

I've added a flags parameter to sudo_parseln() so ldap.conf can
only treat '#' as a comment at the beginning of the line.

https://www.sudo.ws/repos/sudo/rev/40c560fc9a10
https://www.sudo.ws/repos/sudo/rev/b3b67b7e4fc0

It may make sense to ignore line continuation characters in ldap.conf
as well.

 - todd


More information about the sudo-workers mailing list