Skip to content
Snippets Groups Projects
Commit 1d310fd6 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#6755

parent 9a3fc601
No related branches found
No related tags found
No related merge requests found
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)
......
......@@ -908,6 +908,15 @@ main( int argc, char **argv )
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
......@@ -1249,6 +1258,7 @@ getNextPage:
}
if ( fp != stdin ) {
fclose( fp );
fp = NULL;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment