Bugzilla – Bug 839
Typo in doc/schema.OpenLDAP gives syntax error
Last modified: 2018-08-18 13:27:17 MDT
The sudoers schema in doc/schema.OpenLDAP inclues a number of `attributetype` stanzas. However one of these (sudoOrder) is given as `attributetypes` in the file. This causes an error if this file is mechanically translated into the .ldif appropriate for uploading to an OpenLDAP server. As described at http://www.openldap.org/doc/admin24/schema.html the keyword is indeed expected to be `attributetype`. Changing this in the provided schema file does indeed fix the problem. Diff: % diff schema.OpenLDAP{-orig,} 64c64 < attributeTypes ( 1.3.6.1.4.1.15953.9.1.10 --- > attributeType ( 1.3.6.1.4.1.15953.9.1.10
Thanks for reporting this, the typo is fixed by https://www.sudo.ws/repos/sudo/rev/dee2dad738de
Fixed in sudo 1.8.24, available now.