Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
David Barchiesi
OpenLDAP
Commits
2d6669c5
Commit
2d6669c5
authored
16 years ago
by
Quanah Gibson-Mount
Browse files
Options
Downloads
Patches
Plain Diff
ITS#5861
parent
dbf65aba
No related branches found
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
CHANGES
+1
-0
1 addition, 0 deletions
CHANGES
servers/slapd/back-bdb/add.c
+7
-0
7 additions, 0 deletions
servers/slapd/back-bdb/add.c
servers/slapd/back-sql/add.c
+11
-0
11 additions, 0 deletions
servers/slapd/back-sql/add.c
servers/slapd/controls.c
+1
-2
1 addition, 2 deletions
servers/slapd/controls.c
with
20 additions
and
2 deletions
CHANGES
+
1
−
0
View file @
2d6669c5
...
...
@@ -12,6 +12,7 @@ OpenLDAP 2.4.14 Engineering
Fixed slapd bconfig to return error codes (ITS#5867)
Fixed slapd syncrepl rename handling (ITS#5809)
Fixed slapd syncrepl MMR when adding new server (ITS#5850)
Fixed slapd-bdb/hdb RFC4528 control support (ITS#5861)
Fixed slapd-ldap idassert-bind validity checking (ITS#5863)
Fixed slapd-ldif numerous bugs (ITS#5408)
Fixed slapd-ldif rename on same DN (ITS#5319)
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/back-bdb/add.c
+
7
−
0
View file @
2d6669c5
...
...
@@ -112,6 +112,13 @@ txnReturn:
goto
return_results
;
}
if
(
get_assert
(
op
)
&&
(
test_filter
(
op
,
op
->
ora_e
,
get_assertion
(
op
))
!=
LDAP_COMPARE_TRUE
))
{
rs
->
sr_err
=
LDAP_ASSERTION_FAILED
;
goto
return_results
;
}
subentry
=
is_entry_subentry
(
op
->
oq_add
.
rs_e
);
/* Get our reader TXN */
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/back-sql/add.c
+
11
−
0
View file @
2d6669c5
...
...
@@ -975,6 +975,17 @@ backsql_add( Operation *op, SlapReply *rs )
slap_add_opattrs
(
op
,
&
rs
->
sr_text
,
textbuf
,
textlen
,
1
);
if
(
get_assert
(
op
)
&&
(
test_filter
(
op
,
op
->
ora_e
,
get_assertion
(
op
))
!=
LDAP_COMPARE_TRUE
))
{
Debug
(
LDAP_DEBUG_TRACE
,
" backsql_add(
\"
%s
\"
): "
"assertion control failed -- aborting
\n
"
,
op
->
ora_e
->
e_name
.
bv_val
,
0
,
0
);
e
=
NULL
;
rs
->
sr_err
=
LDAP_ASSERTION_FAILED
;
goto
done
;
}
/* search structuralObjectClass */
for
(
at
=
op
->
ora_e
->
e_attrs
;
at
!=
NULL
;
at
=
at
->
a_next
)
{
if
(
at
->
a_desc
==
slap_schema
.
si_ad_structuralObjectClass
)
{
...
...
This diff is collapsed.
Click to expand it.
servers/slapd/controls.c
+
1
−
2
View file @
2d6669c5
...
...
@@ -123,8 +123,7 @@ static char *session_tracking_extops[] = {
static
struct
slap_control
control_defs
[]
=
{
{
LDAP_CONTROL_ASSERT
,
(
int
)
offsetof
(
struct
slap_control_ids
,
sc_assert
),
SLAP_CTRL_DELETE
|
SLAP_CTRL_MODIFY
|
SLAP_CTRL_RENAME
|
SLAP_CTRL_COMPARE
|
SLAP_CTRL_SEARCH
,
SLAP_CTRL_UPDATE
|
SLAP_CTRL_COMPARE
|
SLAP_CTRL_SEARCH
,
NULL
,
NULL
,
parseAssert
,
LDAP_SLIST_ENTRY_INITIALIZER
(
next
)
},
{
LDAP_CONTROL_PRE_READ
,
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment