[Date Prev][Date Next]
Re: slapadd doesn't sort option names (ITS#2217)
> Full_Name: Hallvard B. Furuseth
> Version: HEAD
> OS: Linux
> Submission from: (NULL) (220.127.116.11)
> If you use slapadd to add 'sn;lang-no;lang-en', ldapsearch
> displays it that way instead of as 'sn;lang-en;lang-no',
> even though rfc2251 4.1.5 says options must be sorted.
> ldapadd adds it with the options correctly sorted.
Note that slapadd, in principle, is designed to restore
a database from a well-formatted ldif file, so its checks
should be strict (and catch the unsorted option names)
but its manipulations can be limited, if any (and thus
bailing out in case they're not sorted could be acceptable :)