OpenLDAP 2.4 Change Log
OpenLDAP 2.4.25 Engineering
+ Fixed ldapsearch pagedresults loop (ITS#6755)
Fixed tools for incompatible args (ITS#6849)
Fixed slapd add objectclasses in order (ITS#6837)
Added slapd ordering for uidNumber and gidNumber (ITS#6852)
tool_bind( ld );
getNextPage:
+ /* fp may have been closed, need to reopen if code jumps
+ * back here to getNextPage.
+ */
+ if ( !fp && infile ) {
+ if (( fp = fopen( infile, "r" )) == NULL ) {
+ perror( infile );
+ return EXIT_FAILURE;
+ }
+ }
save_nctrls = nctrls;
i = nctrls;
if ( nctrls > 0
}
if ( fp != stdin ) {
fclose( fp );
+ fp = NULL;
}
}