Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tero Saarni
OpenLDAP
Commits
cc6aa521
Commit
cc6aa521
authored
Mar 26, 2012
by
Howard Chu
Committed by
Quanah Gibson-Mount
Mar 26, 2012
Browse files
ITS
#7205
fix check for existing suffix
parent
c4a040ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/bconfig.c
View file @
cc6aa521
...
...
@@ -2938,7 +2938,8 @@ config_suffix(ConfigArgs *c)
}
#endif
if
(
SLAP_DB_ONE_SUFFIX
(
c
->
be
)
&&
c
->
be
->
be_suffix
)
{
if
(
SLAP_DB_ONE_SUFFIX
(
c
->
be
)
&&
c
->
be
->
be_suffix
&&
!
BER_BVISNULL
(
&
c
->
be
->
be_suffix
[
0
]
))
{
snprintf
(
c
->
cr_msg
,
sizeof
(
c
->
cr_msg
),
"<%s> Only one suffix is allowed on this %s backend"
,
c
->
argv
[
0
],
c
->
be
->
bd_info
->
bi_type
);
Debug
(
LDAP_DEBUG_ANY
,
"%s: %s
\n
"
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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