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
Joe Martin
OpenLDAP
Commits
0bce484d
Commit
0bce484d
authored
Jul 10, 2008
by
Quanah Gibson-Mount
Browse files
More for ITS#5571
parent
9cf14d67
Changes
1
Show whitespace changes
Inline
Side-by-side
servers/slapd/bconfig.c
View file @
0bce484d
...
...
@@ -3994,7 +3994,7 @@ cfAddDatabase( CfEntryInfo *p, Entry *e, struct config_args_s *ca )
}
/* config must be {0}, nothing else allowed */
if
(
!
strncmp
(
e
->
e_nname
.
bv_val
,
"olcDatabase={0}"
,
STRLENOF
(
"olcDatabase={0}"
))
&&
strcmp
(
e
->
e_nname
.
bv_val
+
STRLENOF
(
"olcDatabase={0}"
),
"config
"
))
{
str
n
cmp
(
e
->
e_nname
.
bv_val
+
STRLENOF
(
"olcDatabase={0}"
),
"config
,"
,
STRLENOF
(
"config,"
)
))
{
return
LDAP_CONSTRAINT_VIOLATION
;
}
ca
->
be
=
frontendDB
;
/* just to get past check_vals */
...
...
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