Re: parsing of ldap.conf

"Todd C. Miller" <[email protected]>
Newsgroups gmane.comp.tools.sudo.devel
Message-ID <[email protected]>
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
____________________________________________________________
sudo-workers mailing list <[email protected]>
For list information, options, or to unsubscribe, visit:
https://www.sudo.ws/mailman/listinfo/sudo-workers
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.