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
ingo Voss
OpenLDAP
Commits
c29f0315
Commit
c29f0315
authored
Apr 07, 2021
by
Ondřej Kuzník
Committed by
Quanah Gibson-Mount
Apr 12, 2021
Browse files
ITS#7786 Allow parsing of invalid entries when schema checking off
parent
afa19de2
Changes
1
Hide whitespace changes
Inline
Side-by-side
servers/slapd/entry.c
View file @
c29f0315
...
...
@@ -248,7 +248,7 @@ str2entry2( char *s, int checkvals )
rc
=
slap_bv2ad
(
type
+
i
,
&
ad
,
&
text
);
if
(
rc
!=
LDAP_SUCCESS
)
{
int
wtool
=
(
slapMode
&
(
SLAP_TOOL_MODE
|
SLAP_TOOL_READONLY
)
)
==
SLAP_TOOL_MODE
;
int
wtool
=
(
slapMode
&
(
SLAP_TOOL_MODE
|
SLAP_TOOL_READONLY
|
SLAP_TOOL_NO_SCHEMA_CHECK
)
)
==
SLAP_TOOL_MODE
;
Debug
(
wtool
?
LDAP_DEBUG_ANY
:
LDAP_DEBUG_TRACE
,
"<= str2entry: str2ad(%s): %s
\n
"
,
type
[
i
].
bv_val
,
text
);
if
(
wtool
)
{
...
...
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