[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: slapadd doesn't sort option names (ITS#2217)



> Full_Name: Hallvard B. Furuseth
> Version: HEAD
> OS: Linux
> URL:
> Submission from: (NULL) (129.240.186.42)
>
>
> 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 :)

Ando.

-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it