Commit da44557a authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#6754

parent 9d346699
...@@ -34,6 +34,7 @@ OpenLDAP 2.4.24 Engineering ...@@ -34,6 +34,7 @@ OpenLDAP 2.4.24 Engineering
Fixed slapd config leak with olcDbDirectory (ITS#6634) Fixed slapd config leak with olcDbDirectory (ITS#6634)
Fixed slapd connectionless warnings (ITS#6747) Fixed slapd connectionless warnings (ITS#6747)
Fixed slapd to free controls if needed (ITS#6629) Fixed slapd to free controls if needed (ITS#6629)
Fixed slapd to stop if given unknown options (ITS#6754)
Fixed slapd entry comparisons (ITS#6753) Fixed slapd entry comparisons (ITS#6753)
Fixed slapd filter leak (ITS#6635) Fixed slapd filter leak (ITS#6635)
Fixed slapd matching rules for strict ordering (ITS#6722) Fixed slapd matching rules for strict ordering (ITS#6722)
......
...@@ -682,6 +682,9 @@ unhandled_option:; ...@@ -682,6 +682,9 @@ unhandled_option:;
} }
} }
if ( optind != argc )
goto unhandled_option;
ber_set_option(NULL, LBER_OPT_DEBUG_LEVEL, &slap_debug); ber_set_option(NULL, LBER_OPT_DEBUG_LEVEL, &slap_debug);
ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, &slap_debug); ldap_set_option(NULL, LDAP_OPT_DEBUG_LEVEL, &slap_debug);
ldif_debug = 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