Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Joe Martin
OpenLDAP
Commits
4f7d7881
Commit
4f7d7881
authored
Mar 25, 2014
by
Howard Chu
Committed by
Quanah Gibson-Mount
Apr 01, 2014
Browse files
ITS#7827 slapacl requires a valid suffix
parent
525bf1df
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/slapcommon.c
View file @
4f7d7881
...
...
@@ -779,6 +779,11 @@ slap_tool_init(
ber_memfree
(
nbase
.
bv_val
);
BER_BVZERO
(
&
nbase
);
if
(
be
==
NULL
)
{
fprintf
(
stderr
,
"%s: slap_init no backend for
\"
%s
\"\n
"
,
progname
,
base
.
bv_val
);
exit
(
EXIT_FAILURE
);
}
switch
(
tool
)
{
case
SLAPACL
:
goto
startup
;
...
...
@@ -787,11 +792,6 @@ slap_tool_init(
break
;
}
if
(
be
==
NULL
)
{
fprintf
(
stderr
,
"%s: slap_init no backend for
\"
%s
\"\n
"
,
progname
,
base
.
bv_val
);
exit
(
EXIT_FAILURE
);
}
/* If the named base is a glue master, operate on the
* entire context
*/
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment