Commit a1a5affe authored by Rein Tollevik's avatar Rein Tollevik
Browse files

ITS#6754: Fail if there are unrecognized command-line arguments.

parent 8018924e
......@@ -683,6 +683,9 @@ unhandled_option:;
if ( optind != argc )
goto unhandled_option;
ber_set_option(NULL, LBER_OPT_DEBUG_LEVEL, &slap_debug);
ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, &slap_debug);
ldif_debug = slap_debug;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment