I have problems extract ldif file of openldap. I extract ldif file with following syntax: ldapsearch -x -LLL -h HOST -D "ADMIN" -w PASSWORD -b "c=es" > fichero.ldif The problem is ldif file isn't sorted and when i charge ldif file need use option -c (continuous) very times. Thank you.