Correction: It must be the cache entry after the add which has sorted option names. ldapadd does not store sorted names in the database, as can be seen with a search after slapd has been stopped and restarted, or with slapcat. -- Hallvard