Redirected this to openldap-devel list.
Quanah Gibson-Mount wrote:
I have a script somewhere from Matt Backes @ Symas that sorts LDIF files. It was useful for seeing if it made any difference in slapadd (it didn't).I'm hitting an issue like this in some of the replication tests I'm currently performing. For this purpose, I think we could hack ldapsearch (or add a new prog, or use a script on ldapsearch output) that sorts entries content attribute-wise and, within each attribute, value-wise. Something like "sort" applied entry-wise after unwrapping line folding, optionally case-insensitive would probably suffice.
Well, if it were distributable, and written in a widely supported scripting language, it would be quite useful...
What do you consider a "widely supported scripting language"?
Ciao, Michael.