Skip to content
Snippets Groups Projects
Commit fc6c7fef authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix empty AND/OR search list bug

parent 9a096417
No related branches found
No related tags found
No related merge requests found
......@@ -583,7 +583,8 @@ main( int argc, char **argv )
}
if (( argc - optind < 1 ) ||
( strchr( argv[optind], '=' ) == NULL ) )
( *argv[optind] != '(' /*')'*/ &&
( strchr( argv[optind], '=' ) == NULL ) ) )
{
filtpattern = "(objectclass=*)";
} else {
......
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