Bug 840 - A further typo in schema.OpenLDAP: tab
A further typo in schema.OpenLDAP: tab
Status: RESOLVED FIXED
Product: Sudo
Classification: Unclassified
Component: Documentation
1.8.23
Other All
: low low
Assigned To: Todd C. Miller
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2018-06-25 13:12 MDT by Norman Gray
Modified: 2018-08-18 13:27 MDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Norman Gray 2018-06-25 13:12:09 MDT
There's a tab, rather than a space, in the second-last line of schema.OpenLDAP.  It turns out that the RFC syntax for the corresponding .ldif files <https://tools.ietf.org/html/rfc2849> (or at least the OpenLDAP interpretation of it) is rather... unimaginative about what counts as 'whitespace'.

(Sorry for reporting this as two separate bugs -- this and #839: I thought the fix in #839 had resulted in a working .ldif file, but this turned out to be an artefact of the preprocessing I was doing to turn schema.OpenLDAP into the appropriate .ldif for upload, and when I tweaked that this problem emerged.  This problem is of course trivial to fix in practice, but it seems worthwhile reporting and fixing, since the error OpenLDAP reports bears absolutely _no_ resemblance to the actual problem, which results in a certain amount of hair torn out.)
Comment 1 Todd C. Miller 2018-06-25 13:48:16 MDT
Fixed in https://www.sudo.ws/repos/sudo/rev/e9d5de6365ba
Manual page updated in https://www.sudo.ws/repos/sudo/rev/d83420d8228d
Comment 2 Todd C. Miller 2018-08-18 13:27:24 MDT
Fixed in sudo 1.8.24, available now.